Method IsTerminated
- Namespace
- WhalesSecret.TradeScriptLib.API.TradingV1.Orders
- Assembly
- WhalesSecret.TradeScriptLib.dll
IsTerminated(OrderStatus)
Checks if the given order status denotes an order that is not open.
public static bool IsTerminated(this OrderStatus orderStatus)
Parameters
orderStatusOrderStatusOrder status to check.
Returns
- bool
trueif the order status denotes a terminated order,falseotherwise.
Remarks
Note that the value true means that the order is no longer open or it might have never be open in the first place as it might have been rejected.