Type/to search
Built-in Functions
Structures
Built-in Variables
EXCHANGE
exchange
exchanges
ORDER_STATE
ORDER_TYPE
ORDER_CONDITION_TYPE
POSITION_DIRECTION
ORDER_OFFSET
PERIOD
LOG_TYPE

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 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 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 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.