Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connection Loss Handling

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

    Connection Loss Handling

    Hello

    I want to handle the orders management through the Unmanaged version and I would like to know what should I use as ConnectionLossHandling property.

    Keep running, ReCalculate or Stop Strategy.

    Could you tell me the difference and the impact of each properties.


    Thanks

    #2
    blar58,

    I am happy to assist.

    KeepRunning: Keeps the strategy running and sends a disconnect email alert. When the connection is reestablished the strategy will resume as if no disconnect occurred.

    Recalculate: Strategies will attempt to recalculate its strategy position when a connection is reestablished and held for longer than RestartDelaySeconds (default = 10). Recalculations will only occur if the strategy was stopped based on the conditions below. Should the connection be reestablished before the strategy was stopped, the strategy will continue running without recalculating as if no disconnect occurred.
    • If data feed disconnects for longer than the time specified in DisconnectDelaySeconds, the strategy is stopped and a disconnect email alert will be sent.
    • If the order feed disconnects and the strategy places an order action while disconnected, the strategy is stopped and a disconnect email alert will be sent.
    • If both the data and order feeds disconnect for longer than the time specified in DisconnectDelaySeconds, the strategy is stopped and a disconnect email alert will be sent.

    StopStrategy: Automatically stops the strategy when disconnected for more than DisconnectDelaySeconds and sends a disconnect email alert. No action will be taken when a connection is reestablished.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Adam

      I am just wondering which one to take

      Comment


        #4
        blar,

        Its difficult to recommend unless one knows more about your strategy. Its also heavily based on personal preference. Would you rather the strategy stop and wait to be reset after a disconnection? To wait X number of seconds before doing so? Do you want it to act as if no disconnection occurred or use the recalculate option?

        I would probably use the recalculate option, but this doesn't mean that its best for you as its a subjective choice. This is not advice nor should be taken as such, I am just telling you my preference.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Adam

          OK I understand.

          Many thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          670 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          379 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          111 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          575 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          582 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X