Enum OrderStatus
- Namespace
- WhalesSecret.TradeScriptLib.Entities.Orders
- Assembly
- WhalesSecret.TradeScriptLib.dll
Possible statuses of an order.
public enum OrderStatus
- Extension Methods
Fields
Rejected = 0
The order was not accepted by the engine and was not processed.
Accepted = 1
The order has been accepted by the engine.
Filled = 2
Order is completely filled and it is no longer active.
Canceled = 3
Order has been canceled either by the user or by the exchange.
Any such order can still be partially filled.
Other = 4
An unsupported 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.