Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Restarting Strategy after Connection got lost

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

    Restarting Strategy after Connection got lost

    Dear Ninjatrader-Team,
    when the connection between Ninatrader and TWS gets lost and I manually exit a trade, then Ninjatrader still thinks I have one position open and will not restart the strategy as this requires flat status. How can I fix this?

    Thanks a lot for any hint or support,
    Stefan

    #2
    Hello Stefan,

    The account position not matching the strategy position wouldn't prevent a strategy from being re-enabled, it would just be out of sync, however if there were working orders submitted by the strategy, the strategy may try and cancel these. If the orders cannot be cancelled the strategy cannot start and it is necessary to remove the configured instance and add a new instance.
    The Log tab of the Control Center should provide information about this if this is occurring.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you! So, how would I "remove the configured instance and add a new instance"?

      Comment


        #4
        Hello StefanA,

        Right-click the chart and select Strategies. In the Configured find the configured strategy instance and click remove. From the available select the strategy name and click add to add a new instance of the strategy.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Did all that, but same result. Ninjatrader still shows 1Long, although position was closed manually. Strategy shows status yellow, not green.

          Comment


            #6
            Hello StefanA,

            This means the strategy was re-enabled successfully and is using the Wait until flat start behavior.

            The yellow strategy name means the strategy is running and has a historical position open that is waiting to be closed.

            Below is a link to a support article on Start Behavior.

            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Thank you so much. This is very helpful.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, 03-13-2026, 05:17 AM
              0 responses
              86 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              151 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              79 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              52 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              59 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X