New:
When an order is initially placed, it enters the "New" state. This is the starting point for most orders.
The order can move to various other states from here depending on the actions taken by the exchange or the trader.
Rejected:
If the order does not meet certain criteria, it is immediately rejected, moving from the "New" state to "Rejected."
Suspended:
An order in the "New" state might be temporarily suspended. This could happen for various reasons, such as a trading halt on the exchange.
A suspended order can later be reinstated to the "New" state or be canceled.
Expired:
Orders that are not executed within a specific time frame (like Good Till Date orders) move to the "Expired" state.
Filled:
When an order is fully executed, it transitions to the "Filled" state, meaning that the order has been completed.
If an order is immediately filled upon acceptance, it moves directly to this state.
Partially Filled:
If only part of the order is executed, it enters the "Partially Filled" state.
A partially filled order can later become fully filled, be canceled, or expire.
Canceled:
An order can be canceled at various stages of its lifecycle, moving it to the "Canceled" state.
This can happen from the "New," "Partially Filled," "Suspended," or even "Done for Day" states.
Done for Day:
Some orders might be carried over to the next day (such as Good Till Canceled orders). These orders are marked as "Done for Day" at the end of the trading session.
They can either be reactivated the next day or eventually be canceled.
Reinstatement: A suspended order can be reinstated, moving back to the "New" state.
Full Execution: A new, suspended, or partially filled order can be fully executed, moving to the "Filled" state.
Cancel from Book: An order can be canceled from various states, such as New, Partially Filled, Suspended, or Done for Day.
Start of Day Activation: Orders that are carried over to the next day (e.g., GT orders) move from "Done for Day" back to "Partially Filled" or "New."
Immediate Fill: Some orders are filled immediately upon acceptance and transition directly to the "Filled" state without passing through intermediate states.
Immediate Expiry: Orders with conditions like "Fill or Kill" (FOK) or "Immediate or Cancel" (IOC) may expire immediately if they can't be filled right away.
"Overnight" store: Orders that are not executed or canceled by the end of the day might be stored "overnight" and activated at the start of the next trading day.
Corporate Actions: Some orders may be canceled due to corporate actions (e.g., mergers, stock splits).