IsTerminalState()
IsTerminalState()
Definition
A static method used to determine if the an order’s OrderState is considered terminal and no longer active.
This is a static method and is compared against an order state, NOT the order itself. Please see the example below for correct syntax and usage.
Method Return Value
A bool value which will return true when an OrderState is equal to OrderState.Cancelled, OrderState.Filled, OrderState.Rejected, OrderState.Unknown; otherwise false.
Syntax
IsTerminalState(OrderState orderState)

