Interface: FuturesGetHistoryOrdersExactReq
Req for POST /linear-swap-api/v3/swap_hisorders_exact. Isolated. History orders via multiple fields; adds price_type filter.
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 |
pair? | string | Pair (e.g. BTC-USDT) |
price_type? | string | Order price type filter: limit, opponent, post_only, optimal_5, optimal_10, optimal_20, ioc, fok, opponent_ioc, optimal_5_ioc, optimal_10_ioc, optimal_20_ioc, opponent_fok, optimal_5_fok, optimal_10_fok, optimal_20_fok |
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 |