ORDER_STATE
ORDER_STATE_PENDING
ORDER_STATE_PENDING is the value of the Status property in the Order structure, indicating that the order status is pending.
Type
number
See Also
Remarks
The value of ORDER_STATE_PENDING is 0.
ORDER_STATE_CLOSED
ORDER_STATE_CLOSED is the value of the Status property in the Order structure, indicating that the order status is completed.
Type
number
See Also
Remarks
The value of ORDER_STATE_CLOSED is 1.
ORDER_STATE_CANCELED
ORDER_STATE_CANCELED is the value of the Status property in the Order structure, indicating that the order status is canceled.
Type
number
See Also
Remarks
The value of ORDER_STATE_CANCELED is 2.
ORDER_STATE_UNKNOWN
ORDER_STATE_UNKNOWN is the value of the Status property in the Order structure, indicating that the order status is unknown (other status).
Type
number
See Also
Remarks
The value of ORDER_STATE_UNKNOWN is 3.
For ORDER_STATE_UNKNOWN status, you can call the exchange.GetRawJSON function to get the raw order status information and refer to the exchange documentation for specific descriptions.