资源加载中... loading...

ORDER_STATE

ORDER_STATE_PENDING

ORDER_STATE_PENDING is the value of the Status attribute in the {@struct/Order Order} structure, indicating that the order status is unfinished.

number

The value of ORDER_STATE_PENDING is 0.

{@var/ORDER_STATE/ORDER_STATE_CLOSED ORDER_STATE_CLOSED}, {@var/ORDER_STATE/ORDER_STATE_CANCELED ORDER_STATE_CANCELED}, {@var/ORDER_STATE/ORDER_STATE_UNKNOWN ORDER_STATE_UNKNOWN}

ORDER_STATE_CLOSED

ORDER_STATE_CLOSED is the value of the Status attribute in the {@struct/Order Order} structure, indicating that the order status is completed.

number

The value of ORDER_STATE_CLOSED is 1.

{@var/ORDER_STATE/ORDER_STATE_PENDING ORDER_STATE_PENDING}, {@var/ORDER_STATE/ORDER_STATE_CANCELED ORDER_STATE_CANCELED}, {@var/ORDER_STATE/ORDER_STATE_UNKNOWN ORDER_STATE_UNKNOWN}

ORDER_STATE_CANCELED

ORDER_STATE_CANCELED is the value of the Status attribute in the {@struct/Order Order} structure, indicating that the order status is cancelled.

number

The value of ORDER_STATE_CANCELED is 2.

{@var/ORDER_STATE/ORDER_STATE_PENDING ORDER_STATE_PENDING}, {@var/ORDER_STATE/ORDER_STATE_CLOSED ORDER_STATE_CLOSED}, {@var/ORDER_STATE/ORDER_STATE_UNKNOWN ORDER_STATE_UNKNOWN}

ORDER_STATE_UNKNOWN

ORDER_STATE_UNKNOWN is the value of the Status attribute in the {@struct/Order Order} structure, indicating that the order status is unknown (other status).

number

The value of ORDER_STATE_UNKNOWN is 3. For ORDER_STATE_UNKNOWN status, you can call {@fun/Market/exchange.GetRawJSON exchange.GetRawJSON} function to get the status information of the original order, check the specific description according to the exchange documentation.

{@var/ORDER_STATE/ORDER_STATE_PENDING ORDER_STATE_PENDING}, {@var/ORDER_STATE/ORDER_STATE_CLOSED ORDER_STATE_CLOSED}, {@var/ORDER_STATE/ORDER_STATE_CANCELED ORDER_STATE_CANCELED}

EXCHANGE ORDER_TYPE