Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Detect synchronized Order within NinjaScript

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

    Detect synchronized Order within NinjaScript

    For a Long-order, I have a working StopLoss-Order. After losing connection i restart my strategy (SyncAccountPosition = true). In my chart,i can see the order as "Synchronize". But the StopLoss-Order isn't there.

    Questions:
    1. Why is the sl-order not at the broker?
    2. Must i resubmit the sl-order?
    3. How can i get the IOrder-Reference to a "Synchronize"-marked order?

    I'm working on Sim_Account and use unmanaged approach.

    Thanks for help
    Eddy

    #2
    Hi Eddy, the sync order is submitted outside of the strategy instance so unfortunately there's no IOrder reference available for it, we do have this however as enhancement request on our feedback list.

    Do you restart the strategy manually then or would the connection loss handling take care of the reactivation in this case?

    If you could send us your trace / log files we could review the exact event sequence seen. This could be easily done via Help >> Mail to Support.

    Thanks

    Comment

    Latest Posts

    Collapse

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