Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Syncing account positions - active order cancellation

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

    Syncing account positions - active order cancellation

    Hi
    Is there a way of avoiding this ?

    Any active orders on the account previously generated by the strategy that does not match* an active strategy order will be cancelled.
    Should the strategy be unable to cancel and receive confirmation on the cancellation of these orders within 40 seconds the strategy will not start and an alert will be issued.

    How to make a strategy not interract with the account position and the account live orders? My concern is if for some reason I restart the strategy, some of the orders, while on historical data might be executed by NT8 whereas in reality on the account they were not and therefore if I understand well, the strategy will look to cancel those.

    Thanks

    #2
    Hello jakjak74,

    Thank you for your note.

    You would want to set the strategies start behavior to “Wait until flat”. Under this setting, new positions will not be executed until the strategies position has reached a flat state.

    Please see wait until flat section of our helpguide,


    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Alan

      Under this mode we still have (from https://ninjatrader.com/support/help..._positions.htm)

      When your strategy starts it will check for any active orders previously generated by the strategy on your account and cancel those first. Should the strategy be unable to cancel and receive confirmation on the cancellation of these orders within 40 seconds the strategy will not start and an alert will be issued.

      So is there a way for the strategy to not interact with the account orders already in place (I think mostly at the ones created by the strategy in the past which haven't been executed yet) ?

      Comment


        #4
        Hello jakjak74,

        There is no option which would not cancel any previous active orders generated by the strategy.
        With wait until flat setting, you would not need to be concerned about previous orders being executed.

        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X