Query Delegation Details
Address/openApi/entrust/status
Receiving Parameters
Submission method: GET
Example
curl -d /openApi/entrust/status
Submission Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
order_sn | Yes | String | Order number |
Return Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
errno | Yes | int | 0 | Status Code |
errmsg | Yes | success | success | Status message |
result | Yes | list | See example | List |
result Parameters Explanation
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
order_sn | Yes | string | Order Number | |
symbol | Yes | string | Trading Pair | |
ctime | Yes | string | Delegation Time | |
type | Yes | int | 1 | Order type: 1=Market, 2=Limit |
side | Yes | string | buy | Order side: buy/sell |
price | Yes | String | Price: When market price (type=1), it is 0 | |
number | Yes | String | 3.12 | Order quantity: When placing a market buy order (type=1, side=buy), it should be 0 |
total_price | Yes | String | Total amount of the order: 0 for market sell orders (type=1, side=sell) | |
deal_number | Yes | String | Executed quantity | |
deal_price | Yes | String | Average transaction price | |
status | Yes | int | 1 | Status: 1=Pending, 2=Partially Filled, 3=Filled, 4=Cancelling, 5=Partially Cancelled, 6=Cancelled |