getSpreadOrderHistory
Retrieve closed spread trading orders, including filled, cancelled, and rejected combinations, with filters by symbol, coin, order ID, and time range up to 7 days.
Instructions
Query spread trading order history. Returns closed (filled, cancelled, rejected) spread combination orders.
Notes:
Fully cancelled orders are stored for up to 24 hours.
Single leg orders created via futures spread are accessible through the primary order history endpoint with
createType=CreateByFutureSpread.
Time range rules:
Without both
startTimeandendTime: returns last 7 days by defaultOnly
startTimeprovided: returns from startTime to startTime + 7 daysOnly
endTimeprovided: returns from endTime - 7 days to endTimeBoth provided: endTime - startTime must be ≤ 7 days
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| symbol | No | ||
| endTime | No | ||
| orderId | No | ||
| baseCoin | No | ||
| startTime | No | ||
| orderLinkId | No |