Announcement

Collapse
No announcement yet.

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.

    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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      553 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      100 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      543 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      546 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X