Skip to content

Interface: FuturesGetHistoryOrdersExactReq ​

Req for POST /linear-swap-api/v3/swap_hisorders_exact. Isolated. History orders via multiple fields; adds price_type filter.

Properties ​

PropertyTypeDescription
contractstringContract code (e.g. BTC-USDT). Required
direct?FuturesDirectnext or prev. Default prev
end_time?numberEnd time (ms). Default now
from_id?numberPagination: min/max query_id from last result
pair?stringPair (e.g. BTC-USDT)
price_type?stringOrder 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?numberStart time (ms). Window max 48h, within 90 days
statusstring0: all, or comma-separated e.g. "3,4,5"
trade_type0 | 1 | 2 | 3 | 4 | 5 | 6 | 17 | 180: 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)
type1 | 21: All Orders, 2: Order in Finished Status

Built by Siebly. Open source SDKs for exchange APIs.