IsTerminalState()
|
<< Click to Display Table of Contents >> IsTerminalState() |
|
A static method used to determine if the an order's OrderState is considered terminal and no longer active.
Note: This is a static method and is compared against an order state, NOT the order itself. Please see the example below for correct syntax an usage. |
A bool value which will return true when an OrderState is equal to OrderState.Cancelled, OrderState.Filled, OrderState.Rejected, OrderState.Unknown; otherwise false.
IsTerminalState(OrderState orderState)
orderState |
The OrderState to compare |
private Order entryOrder = null; |