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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    64 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X