OrderStatus
Valid order statuses, these determine several states for an order that cannot be expressed with other fields in Order.
enum OrderStatus {
STATUS_ACTIVE
STATUS_EXPIRED
STATUS_CANCELLED
STATUS_STOPPED
STATUS_FILLED
STATUS_REJECTED
STATUS_PARTIALLY_FILLED
STATUS_PARKED
}
Values
OrderStatus.STATUS_ACTIVE
The order is active and not cancelled or expired, it could be unfilled, partially filled or fully filled. Active does not necessarily mean it's still on the order book.
OrderStatus.STATUS_EXPIRED
This order trades any amount and as much as possible and remains on the book until it either trades completely or expires.
OrderStatus.STATUS_CANCELLED
The order is cancelled, the order could be partially filled or unfilled before it was cancelled. It is not possible to cancel an order with 0 remaining.
OrderStatus.STATUS_STOPPED
This order was of type IOC or FOK and could not be processed by the matching engine due to lack of liquidity.
OrderStatus.STATUS_FILLED
This order is fully filled with remaining equalling zero.
OrderStatus.STATUS_REJECTED
This order was rejected while being processed.
OrderStatus.STATUS_PARTIALLY_FILLED
This order was partially filled.
OrderStatus.STATUS_PARKED
This order has been removed from the order book because the market is in auction, the reference price doesn't exist, or the order needs to be repriced and can't. Applies to pegged orders only
Member of
Order
object ● OrderFilter
input ● OrderUpdate
object