• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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?
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by williamzz, Today, 11:37 AM
        1 response
        7 views
        0 likes
        Last Post Emma1
        by Emma1
         
        Started by thecashguys, Today, 10:18 AM
        0 responses
        6 views
        0 likes
        Last Post thecashguys  
        Started by pjsmith, Today, 09:58 AM
        0 responses
        8 views
        0 likes
        Last Post pjsmith
        by pjsmith
         
        Started by bebbus, Today, 09:13 AM
        0 responses
        6 views
        0 likes
        Last Post bebbus
        by bebbus
         
        Started by roblogic, Today, 08:04 AM
        0 responses
        7 views
        0 likes
        Last Post roblogic  
        Working...
        X