Get Recent Orders List
Request via this endpoint to get 1000 orders in the last 24 hours. The return value is the data after Pagination, sorted in descending order according to time.
HTTP REQUEST
GET /api/v1/limit/orders
Example
GET /api/v1/limit/orders
{
"code": "200000",
"msg": "",
"data": [
{
"id": "demoData",
"symbol": "demoData",
"opType": "demoData",
"type": "demoData",
"side": "demoData",
"price": 1,
"size": 1,
"funds": 1,
"dealFunds": 1,
"dealSize": 1,
"fee": 1,
"feeCurrency": "demoData",
"stp": "demoData",
"stop": "demoData",
"stopTriggered": true,
"stopPrice": 1,
"timeInForce": "demoData",
"postOnly": true,
"hidden": true,
"iceberg": true,
"visibleSize": 1,
"cancelAfter": 1,
"channel": "demoData",
"clientOid": "demoData",
"remark": "demoData",
"tags": "demoData",
"isActive": true,
"cancelExist": true,
"createdAt": "2023-06-20 12:22:56",
"tradeType": "demoData"
}
]
}
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:3
RESPONSES
Param | Description |
---|---|
orderId | Order ID, unique identifier of an order. |
symbol | symbol |
opType | Operation type: DEAL |
type | order type, e.g. limit, market, stop_limit |
side | transaction direction,include buy and sell |
price | order price |
size | order quantity |
funds | order funds |
dealFunds | deal funds |
dealSize | deal quantity |
fee | fee |
feeCurrency | charge fee currency |
stp | self trade prevention,include CN,CO,DC,CB |
stop | stop type, include entry and loss |
stopTriggered | stop order is triggered |
stopPrice | stop price |
timeInForce | time InForce,include GTC,GTT,IOC,FOK |
postOnly | postOnly |
hidden | hidden order |
iceberg | iceberg order |
visibleSize | display quantity for iceberg order |
cancelAfter | cancel orders time,requires timeInForce to be GTT |
channel | order source |
clientOid | user-entered order unique mark |
remark | remark |
tags | tag order source |
isActive | order status, true and false. If true, the order is active, if false, the order is fillled or cancelled |
cancelExist | order cancellation transaction record |
createdAt | create time |
tradeType | The type of trading : TRADE(Spot Trading), MARGIN_TRADE (Margin Trading). |