ORDER_STATE_PENDING是{@struct/Order Order}结构中的Status
属性的值,表示订单状态为未完成状态。
number
ORDER_STATE_PENDING的值为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是{@struct/Order Order}结构中的Status
属性的值,表示订单状态为已经完成状态。
number
ORDER_STATE_CLOSED的值为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是{@struct/Order Order}结构中的Status
属性的值,表示订单状态为已经取消状态。
number
ORDER_STATE_CANCELED的值为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是{@struct/Order Order}结构中的Status
属性的值,表示订单状态为未知状态(其它状态)。
number
ORDER_STATE_UNKNOWN的值为3。
对于ORDER_STATE_UNKNOWN
状态,可以调用{@fun/Market/exchange.GetRawJSON exchange.GetRawJSON}函数获取原始订单的状态信息,根据交易所文档查看具体描述。
{@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