Get All Orders
Permission: Read
Weight: 5
Request parameters
Name | Type | Mandatory | Description |
symbol | string | YES | Symbol. |
startTime | number | NO | Start time in millisecond. |
endTime | number | NO | End time in millisecond. |
limit | number | NO | Default: 50. Range: 1- 200. When the number of orders in time range exceeds the limit, return the latest limit number of orders. Return all orders if there is insufficient number of orders. |
Response format
Name | Type | Description | |
orders | array | Collection of orders, sorted by createTime in descending order. | |
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_INVALID_SYMBOL Invalid symbol.
TRADE_PARAMETER_ERROR Parameter error.
Request example
Response example
Last updated