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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        150 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        303 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        243 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        174 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X