Kline Data
Kline data
Http Request
GET
/api/usdt/instruments/candles
Request Frequency Restriction:
- 10times / 1second
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
instrument_id | string | YES | Contract abbreviation, such as BTC, ETH, BCH, BSV, etc. |
start_time | string | YES | Unix timestamp. for example. 1680765457 |
end_time | string | YES | Unix timestamp |
period | string | YES | Kline granularity, reference to the value range |
Tip
The value of period can only be "1", "3", "5", "15", "30", "60", "120", "240", "360", "720", "D", "W", "M"], otherwise the request will be rejected.
Corresponding to [1min, 3min, 5min, 15min, 30min, 1 hour, 2 hour, 4 hour, 6 hour, 12 hour, 1 day, 1 week, 1 month]
Response fields description
Format: [timestamp, open, high, low, close, volume, turnover, long_volume, short_volume]
turnover = volume * multiplier * price