Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unmanaged: OrderState Terminal Values?

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

    Unmanaged: OrderState Terminal Values?

    Looking through the IOrder description here:



    the different states for OrderState a listed.

    Which of these states are terminal states? A terminal state is a state in which that Order.OrderState will remain unless explicity changed. For example, OrderState.Accepted is not a terminal state, because this state will typically progress to another state.

    I want am writing a check for my orders, and I need to know when I should null them out, or when I need to cancel the orders before nulling them.

    I am guessing that OrderState.Filled, OrderState.Rejected, and OrderState.Cancelled are terminal states.

    Any others?

    Thanks!

    #2
    Hello Serac,

    Thanks for your note.

    You are correct in identifying the orders that fit your description.

    States other than these three will change to another state eventually, with the exception of unknown. Unknown may or may not change to another state.

    The IOrders page can be found from this link below:
    http://www.ninjatrader.com/support/h...nt7/iorder.htm


    Please let me know if I can be of any other assistance.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    672 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    379 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    582 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X