Interface: FuturesGetHistoricalOpenInterestReq
Req for GET /linear-swap-api/v1/swap_his_open_interest. One of (pair+contract_type) or contract_code required.
Properties
| Property | Type | Description |
|---|---|---|
amount_type | 1 | 2 | 1: cont, 2: cryptocurrency |
contract_code? | string | Contract code. Omit if pair+contract_type provided |
contract_type? | string | swap, this_week, next_week, quarter, next_quarter |
pair? | string | Pair (e.g. BTC-USDT). Use with contract_type |
period | FuturesOpenInterestPeriod | 60min, 4hour, 12hour, 1day |
size? | number | Items [1-200]. Default 48 |