K-line data
1. Request Url
https://{host}/market/history/kline
2. Request Param
Parameter name | Is it necessary | description |
---|---|---|
channelId | yes | Channel number |
timestamp | yes | Millisecond timestamp(UTC+8) |
sign | yes | See "Signature Generation" |
symbol | yes | symbol |
period | yes | Return data time granularity, that is, the time interval of each candle (1min, 5min, 15min, 30min, 60min, 1day, 1mon, 1week, 1year) |
3.Request Example
4.Response Data
5.Response Data Explanation
Description | Is Array | Parameter name | Data type |
---|---|---|---|
amount | Y | amount | String |
close | Y | close | String |
count | Y | count | String |
high | Y | high | String |
low | Y | low | String |
open | Y | open | String |
ts | Y | ts | String |
vol | Y | vol | String |