Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Real orders processing NT-Broker-Exchange

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

    Real orders processing NT-Broker-Exchange

    Hi Ninjas,

    Imagine an Algo that has to submit two orders: 1. Exit-Long and 2. Enter-Short , if you write them in that order exactly in your code, will those orders be processed in electronic trading ALWAYS in that specific order? I mean: will those orders keep the same order throughout the whole electronic process ( sent from NT, received and accepted by your broker, sent to the exchange in executed ) ?

    Or is it better submit one first and once is confirmed that is done, then send the other one because it's possible that in the process the order might be altered?

    Due to market dynamics, I'd like to submit the 2 orders, in that logic order, but without waiting for confirmation to prevent stay far behind in the queue

    Thanks

    #2
    In general, the orders should process in the sequence they were called. But Due to the multi-threaded nature of order processing, and delays/errors/rejections that can occur over the broker/exchange infrastructure, I would not say there is any gurantee that the order you submitted would be persisted if they were very close in time.

    With that said, I'd recommend confirming the order state before firing off the second order.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thanks Matthew, a clear answer, note taken.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X