Skip to content

Interface: FuturesGetKlinesReq ​

Req for GET /linear-swap-ex/market/history/kline. Either size or (from+to) required.

Properties ​

PropertyTypeDescription
contract_codestringContract code or type. swap: BTC-USDT; future: BTC-USDT-220325 or BTC-USDT-CW/NW/CQ/NQ
from?numberStart timestamp (seconds)
periodFuturesKlinePeriod1min, 5min, 15min, 30min, 60min, 1hour, 4hour, 1day, 1mon
size?numberItems [1-2000]. Default 150. Ignored if from+to provided
to?numberEnd timestamp (seconds). Required if from provided

Built by Siebly. Open source SDKs for exchange APIs.