Interface: FuturesGetContractInfoReq
Req for GET /linear-swap-api/v1/swap_contract_info. When isolated, contract_type/business_type cannot be futures.
Properties
| Property | Type | Description |
|---|---|---|
business_type? | FuturesBusinessType | Default swap. futures, swap, all. Required for futures query |
contract_code? | string | Contract code. Omit for all. swap: BTC-USDT; future: BTC-USDT-210625 |
contract_type? | string | swap, this_week, next_week, quarter, next_quarter |
pair? | string | Pair (e.g. BTC-USDT) |
support_margin_mode? | FuturesMarginModeAll | cross, isolated, or all. Filter by supported margin mode |