Enum OrderStatus
- Namespace
- WhalesSecret.TradeScriptLib.Entities.Orders
- Assembly
- WhalesSecret.TradeScriptLib.dll
Possible statuses of an order.
public enum OrderStatus
- Extension Methods
Fields
Rejected = 0The order was not accepted by the engine and was not processed.
Accepted = 1The order has been accepted by the engine.
Filled = 2Order is completely filled and it is no longer active.
Canceled = 3Order has been canceled either by the user or by the exchange.
Any such order can still be partially filled.
Other = 4Unsupported value.
Exchanges can support more OrderStatus options than Whale's Secret supports. Any such value will be mapped to this value.
User is not supposed to use this value in her code.
Remarks
The order of the enum values is important as it corresponds with order lifetime.