Skip to content

Interface: FuturesGetCrossHistoryOrdersReq ​

Req for POST /linear-swap-api/v3/swap_cross_hisorders. Cross. One of contract or pair required.

Properties ​

PropertyTypeDescription
contract?stringContract code. swap: BTC-USDT, future: BTC-USDT-210625
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)
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.