Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sync Functionality

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

    Sync Functionality

    Hi,

    I have a strategy that is run with Sync set to True.

    When NT closes a previously open position in order to sync it with the hypothetical state of a strategy, is there any way of being notified similar to overriding the OnExecution method for realtime events?
    Or will I just have to keep a track of strategy state internally up to the point in time that the strategy enabling/synching occurred.

    Regards

    #2
    Hello abfc123,

    Thank you for your post.

    OnExecution() will not catch the market order to sync your positions (account and strategy positions). There is no supported method to catch the "sync", as the order is not sent based on any conditions in your strategy but is an order sent from NinjaTrader internally based on your strategy settings.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    110 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    59 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    37 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    41 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    78 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X