Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Which account sends an order first?

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

    Which account sends an order first?

    Let's say I have 10 accounts each running the same strategy. In what order, or how does ninjatrader determine which account sends an order first? I understand we're talking milliseconds or lower, but just wondering.

    Wondering in a single core environment, as well as, a multicore environment.

    #2
    Hello takeaseat,

    NinjaScript instances will be asynchronous and there would be no guaranteed order. It's a race to see which strategy receives data first and runs OBU and calls the order method. For strategies running on the same instrument it will likely be in the order the strategies were added to the chart, but there is no guarantee on which script will update first.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 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
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X