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.
    JimNinjaTrader Customer Service

    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.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        6 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        41 views
        0 likes
        Last Post alifarahani  
        Working...
        X