Announcement

Collapse
No announcement yet.

IB trade/connection problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • IB trade/connection problem

    Hi
    21. My trade orders for YM do not go to IB. eSignal chart is (YM #M) and IB symbol is YM MAR 05, Exchange is ECBOT.

    But the same efs line, and the same preferences in eSignal, did execute the trade for a stock, NT, in a NT chart.

    Here is the efs line:
    var IBtrade = new IBBroker;
    IBtrade.Sell(getSymbol(), lotSize, IBBroker.MARKET); //line 380

    In the Trade/IB Preferences/Order Preferences/Symbology panel, shall I check the IB or the eSignal button?

    In the Trade/Interactive Brokers/Symbology panel, I have an entry
    for YM: YM symbol for IB and eSignal, with (Add to Symbology panle): YM, YM, SMART, 200503 fields.
    The SMART field shows up even though I entered ECBOT.

    I used Brad's example in 'Automated Trading' threadid=9612.
    Can anybody help me?
    Thanks
    Arie

  • #2
    Hello Arie,

    In the Trade/IB Preferences/Order Preferences/Symbology panel, IB should be checked. Then you need to set up in the IB Symbology for YM where YM #F in entered into the eSignal column, or whatever symbol you're using in the eSignal chart. YM is all you need to have in the IB column. I'm noticing some problem with editing existing entries in the Symbology window, so you should delete the current entry for YM and start fresh using the New button.



    The Exchange is defaulting back to SMART. I'm not sure at the moment why, but I'll investigate this further.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Hi Jason
      Many thanks for your fast reply.
      Your help seems to work, but I need to try it further tomorrow.
      The default SMART seems to still be there, even for Futures, which is wrong.
      Here is another important question:
      22. I would like to apply my efs to two different charts:
      one with YM 145 tick and another with YM 13 minutes.
      Each chart should trade with a different IB account under
      my name, i.e. chart a with account A, and chart b with account
      B.
      And for this matter, it can be even more than 2 charts with
      more IB accounts.
      This questions is similar to my previous question 12 where
      the Dynaorder was suggested.
      What about eSignal solution to this problem?
      Thanks, Arie

      Comment


      • #4
        Hello Arie,

        Trading multiple accounts simultaneously is an interesting request. Unfortunately, we do not have the ability to specify an account number from EFS. In order for this ability to be considered for future addition, please submit a request to [email protected].
        Jason K.
        Project Manager
        eSignal - an Interactive Data company

        EFS KnowledgeBase
        JavaScript for EFS Video Series
        EFS Beginner Tutorial Series
        EFS Glossary
        Custom EFS Development Policy

        New User Orientation

        Comment


        • #5
          efs trading multiple IB accounts

          Hi Jason
          Thanks again for being so helpful.
          23. Here is some more on the topic of trading multiple IB accounts from the same efs applied to multiple charts.
          You wrote: 'Unfortunately, we do not have the ability to specify an account number from EFS.'
          Fine, then how does esignal know which of my 4 IB accounts to send the trade? By the one TWS that is open?
          Then what if more TWS windows are open?
          24. Another way to solve this trading with multiple IB accounts might be to use an additional PC to trade with a 2nd account?
          Is esignal going to allow me to run the same efs on a different chart to communicate to a different IB account?
          21 cont.: now, I am able to trade from my efs, to one of my IB accounts, after updating the symbology acc to your advice.
          But, in the morning, after opening my TWS and esignal stuff, I tried to do a trade on YM, it failed (wrong SMART exchange; esignal didn't retain my input of ESBOT), then I did a reload and in the symbology I put ECBOT, and that worked. The SMART is still the default exchange instead of ECBOT.
          Do I need to do this sequence every time I open my TWS/esignal stuff, or after every boot, etc?
          Thanks very much, Arie

          Comment


          • #6
            Hello Arie,

            21. If it keeps defaulting back to SMART, then yes. I've sent a note about this problem to our development team. When I receive more info on a solution for this problem, I'll let you know. Basically, it's going to require a fix in a future release.

            23. eSignal doesn't "know" which account to send the trade to. It just sends the trade to the TWS app. The account info is set in the TWS app. I wasn't aware that you could have multiple TWS windows open so I'm not sure how TWS receives the trade info from eSignal in that situation. Have you tried this scenario?

            24. A second PC using a separate eSignal account would work. You could run the same EFS on each PC with no conflicts.

            If our development team is able to incorporate account info within EFS, then you would be able to run the EFS on different charts in the same layout and tell each one to use a specific account number through a user-defined parameter setup in the EFS.
            Jason K.
            Project Manager
            eSignal - an Interactive Data company

            EFS KnowledgeBase
            JavaScript for EFS Video Series
            EFS Beginner Tutorial Series
            EFS Glossary
            Custom EFS Development Policy

            New User Orientation

            Comment

            Working...
            X