Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reset strategy positio

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

    Reset strategy positio

    Hi, my strategy opened a long position last week and got disconnected, while it was disconnected, I closed the position manually and canceled the exit orders. When I run the strategy now, it shows a strategy position of 1L when my account position is flat. Theoretically, this position should've been closed many days ago if the strategy was left running. Backtest shows that the strategy position should be flat as well. Any ways to reset this? I'm not sure how it'll manage this strategy position now that all my exit orders are canceled.

    Appreciate the help!
    Rob

    #2
    Hello ZQY123,


    To resolve the discrepancy between the strategy position and the account position in NinjaTrader 8, follow these steps
    • Stop the Strategy:
      • Go to the "Strategies" tab.
      • Select your running strategy.
      • Right-click and choose "Stop Strategy."

    Sync Account and Strategy Positions:
    • Go to the "Tools" menu and select "Options."
    • In the "Options" window, go to the "Strategies" tab.
    • Under the "On Starting a Real-Time Strategy" section, select "Immediately submit live working historical orders."
    • Ensure that the option to "Synchronize account positions" is enabled. This ensures the strategy syncs with the actual account positions when it starts.

    Thank you!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    28 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X