Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

After synchronisation NT closes all the previous open positions

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

    After synchronisation NT closes all the previous open positions

    Hi
    I am getting disconnected each day by IB so when I add my strategy on the chart I also select the option "immediately submit, synchronise the account"
    Now each time the market opens NT detects there is a an open positions and begin to close right away?!
    you can see the log here
    Click image for larger version

Name:	NT_problem.png
Views:	194
Size:	645.9 KB
ID:	1041299

    #2
    Hello gordic,

    Thanks for your post.

    Immediately Submit, Synchronize Account has 2 behaviors.

    Immediately submit -
    1. Checks orders created when the strategy processes historical data. This determines trades that this instance of the strategy would have made if it was running beforehand and determines the Strategy Position (not to be confused with the actual Account position.)
    2. Strategy historical orders are compared against any live working orders. If orders match the strategy will resume managing those orders.
    3. If there are active strategy orders that do not exist with the account, then the strategy will submit these live
    Synchronize Account -
    1. The Strategy Position that is calculated from historical data is compared against the actual Account Position.
    2. If the Account and strategy position are different, an additional order gets submitted to the account to synchronize the Account Position to the Strategy Position. This could effectively close an open position on the account if the strategy calculated a flat position from processing historical data.
    We see that a Synchronize order was submitted which would mean that the Strategy position did not match the Account position on enablement.

    For more information on Start Behaviors and the difference between Strategy Positions andf Account Positions, please refer to the documentation pages below.

    Strategy Position vs. Account Position - https://ninjatrader.com/support/help..._account_p.htm

    Syncing Account Positions (Start Behaviors) - https://ninjatrader.com/support/help..._positions.htm

    We also have a NinjaTrader 7 video that explains these behaviors as well - https://www.youtube.com/watch?v=US9cKUwLMOA

    The information above is publicly available.

    If you have any additional questions, please don't hesitate to ask.

    Comment


      #3
      Thanks a lot
      I think now I know where is the origin if the issue.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      58 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      133 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      73 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      50 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X