Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy disabled

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

    Strategy disabled

    hi, i noticed that, interactive brokers do make their data farms go offline an hour or so for maintenance everyday, and ninjatrader will keep trying to reconnect, which is nice.

    But, once a while, ninjatrader would just give up trying reconnect and all strategies were disabled (due to no data connection) even after the datafarm come back online. How to resolve this problem? Thanks

    #2
    Hi lawrence124, thanks for the post, so you mean after the round of reconnect attempts NT would stay then in 'ConnectionLost' for you then even after IB's datafarm connection was restored?

    Comment


      #3
      yes, the log said:
      12:17pm strategy xxx lost price action but will keep running
      12:17pm strategy xxx lost price connection more than 4 times in last 5 minutes, and will be disabled
      12:17pm disabling NinjaScript strategy xxx

      12:27:07pm primary connection = connected, price feed = connectionlost
      12:27:13pm primary connection = connected, price feed = connected

      then i will have to enable all the strategies again manually

      Comment


        #4
        I see, thanks - you can change the connection loss handling settings for your strategies under Tools > Options > Strategies > NinjaScript, so they could withstand a higher # of reconnect attempts or higher delays.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        148 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X