Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order State

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

    Order State

    What would be the right replacements for these order state in NT8 for PendingSubmit (NT7)?

    I need to control that no changes to the order are submitted until the main order has been completely submitted.

    I also need to control that no other changes are submitted to the order until a previous change has been received by the broker.

    #2
    Hello guillembm,

    Thanks for your question.

    PendingSubmit is now Submitted in NinjaTrader 8. Submitted States guarantee the order has left NinjaTrader when NinjaTrader 7 would only report that a submit has occurred.

    You could look for an order state of State.Accepted in OnOrderUpdate() to further restrict your logic for order modifications.

    Publicly available resources on these items can be found here:

    OrderStates - https://ninjatrader.com/support/help...efinitions.htm

    OnOrderUpdate() - https://ninjatrader.com/support/help...rderupdate.htm

    Please let us know if we can be of further assistance.

    Comment


      #3
      Do I have to suppose that the Accepted state affects also further ChangeOrder done after the initial submit?

      Comment


        #4
        Hello guillembm,

        Accepted would mean the order is accepted by your broker. It would be a valid time to call a ChangeOrder(). A ChangeOrder() can be done at any state other than a final order state (Filled, PartFilled, Rejected, Cancelled, Unkown.)

        There would be a chance to encounter a rejection in a scenario where an order is returned back as Submitted, a ChangeOrder() is submitted, and the original order does not reach Accepted at the time the ChangeOrder() reaches the broker.

        Please let us know if you have any additional questions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        90 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        58 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        119 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        195 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        176 views
        0 likes
        Last Post CarlTrading  
        Working...
        X