Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

submiting orders asynchronously via ninjascript?

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

    submiting orders asynchronously via ninjascript?

    Say, I need to place 25 market orders with 25 different accounts, same rithmic connection.. Is it possible to submit orders asynchronously via ninjascript?

    #2
    Hello MiCe1999,

    You can submit them in the same event however they will be processed sequentially. NinjaScript is not built on an async framework.

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello MiCe1999,

      You can submit them in the same event however they will be processed sequentially. NinjaScript is not built on an async framework.
      When is the next order sent? Is it right after previous order has been acknowledged, executed or else?

      Comment


        #4
        Hello MiCe1999,

        The orders are executed sequentially so it would be milliseconds apart, If you call 2 order methods in the same update the orders would be submitted at nearly the same time.. Because multiple accounts are involved that could possibly be on the same connection or different connections which could also add differences in the time between orders.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        43 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        25 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        162 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        98 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        157 views
        2 likes
        Last Post CaptainJack  
        Working...
        X