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 DayTradingDEMON, Today, 09:28 AM
        0 responses
        1 view
        0 likes
        Last Post DayTradingDEMON  
        Started by navyguy06, Today, 09:28 AM
        0 responses
        1 view
        0 likes
        Last Post navyguy06  
        Started by rjbtrade1, 11-30-2023, 04:38 PM
        2 responses
        77 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        7 responses
        30 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by Stanfillirenfro, Today, 07:23 AM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X