Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy failing when routing orders via IB when using v42

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

    Strategy failing when routing orders via IB when using v42

    I have a strategy which execute orders and up until a prior version of NT 7 (I think version 40?) it was working fine. However, now on version 42/43 it is failing when routing orders via Interactive Brokers. Orders work fine through SIM101.

    Has anything changed in the way that NT7 implements the IB connection? I am running TWS 973.2h

    Here is a snippet of the log showing the errors generated, it seems to be trying to convert everything to integers?

    2/17/2021 12:15:55 PM|3|4|IB.IBSocket.ReadInteger: Unable to convert 'MES' to integer value
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'FUT' to an integer id
    2/17/2021 12:15:55 PM|3|4|unknown message id=20210319
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'GLOBEX' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'USD' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'MESH1' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg '00019123.602cb849.01.01' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg '20210217 12:15:57' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'U9999999' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'GLOBEX' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'SLD' to an integer id
    2/17/2021 12:15:55 PM|3|4|invalid ticker id =1339306321 msg=TickPrice
    2/17/2021 12:15:55 PM|3|4|unknown message id=0
    2/17/2021 12:15:55 PM|3|4|unknown message id=0
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg '3908.75' to an integer id
    2/17/2021 12:15:55 PM|3|4|unknown message id=1339306321
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg '3908.75' to an integer id
    2/17/2021 12:15:55 PM|3|4|unknown message id=0
    2/17/2021 12:15:55 PM|3|4|IB.IBSocket.ReadInteger: Unable to convert 'LMT' to integer value
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'U9999999' to an integer id
    2/17/2021 12:15:55 PM|3|4|IB.Adapter.MessageLoop: Unable to convert msg 'C' to an integer id

    #2
    Hello scalp,

    Thank you for your note.

    As of NinjaTrader 7 version 7.0.1000.41, the required version of TWS is Traders Workstation (TWS) version 978.2c.

    You can download the correct version from this link: Download

    Please uninstall your current TWS version, install the above one, and then test. Do you see the same errors occurring?

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Many thanks Kate, that resolved the issue. I didn't see anywhere a need to update TWS. Maybe this can be included somewhere in the upgrade process if an active IB connection is detected?

      Just a thought...all the best,


      Originally posted by NinjaTrader_Kate View Post
      Hello scalp,

      Thank you for your note.

      As of NinjaTrader 7 version 7.0.1000.41, the required version of TWS is Traders Workstation (TWS) version 978.2c.

      You can download the correct version from this link: Download

      Please uninstall your current TWS version, install the above one, and then test. Do you see the same errors occurring?

      Thanks in advance; I look forward to assisting you further.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,407 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      98 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      160 views
      0 likes
      Last Post loganjarosz123  
      Working...
      X