Interface: FuturesGetHistoryOrdersReq
Req for POST /linear-swap-api/v3/swap_hisorders. Isolated. History orders.
Properties
| Property | Type | Description |
|---|---|---|
contract | string | Contract code (e.g. BTC-USDT). Required |
direct? | FuturesDirect | next or prev. Default prev |
end_time? | number | End time (ms). Default now |
from_id? | number | Pagination: min/max query_id from last result |
start_time? | number | Start time (ms). Window max 48h, within 90 days |
status | string | 0: all, or comma-separated e.g. "3,4,5" |
trade_type | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 0: All, 1: Open long, 2: Open short, 3: Close short, 4: Close long, 5: Liquidate long, 6: Liquidate short, 17: buy(one-way), 18: sell(one-way) |
type | 1 | 2 | 1: All Orders, 2: Order in Finished Status |