Get Order by Client Order Id
Get an order. Please try GET /v1/trade/order
for normal query.
Permission: Read
Weight: 1
Request parameters
Name | Type | Mandatory | Description |
clientOrderId | number | YES | Client order id. |
Response format
Name | Type | Description |
orderId | number | Order id |
symbol | string | Symbol. |
type | string | LIMIT / MARKET |
side | string | BUY / SELL |
price | string | Price. |
size | string | Order quantity. |
amount | string | The amount of market buy order. |
filledSize | string | Filled quantity of order. |
filledAmount | string | Filled amount of order. |
fee | string | Transaction fee. |
feeCoin | string | Currency of transaction fee. |
status | string | OPEN / CLOSED |
IOC | boolean | IOC |
clientOrderId | string | Client id |
source | string | Source of order, MANUAL / API |
createTime | number | Create timestamp in millisecond. |
updateTime | number | Update timestamp in millisecond. |
Error code
TRADE_ORDER_NOT_FOUND Order not found.
TRADE_INVALID_SYMBOL Invalid symbol.
TRADE_PARAMETER_ERROR Parameter error.
Request example
Response example
Last updated