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 tsantospinto, 04-12-2024, 07:04 PM
    7 responses
    126 views
    0 likes
    Last Post aligator  
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by PeakTry, Today, 10:49 AM
    0 responses
    2 views
    0 likes
    Last Post PeakTry
    by PeakTry
     
    Started by llanqui, Today, 10:32 AM
    0 responses
    5 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by StockTrader88, 03-06-2021, 08:58 AM
    45 responses
    3,994 views
    3 likes
    Last Post johntraderuser2  
    Working...
    X