kucoin-api-docs
kucoin-api-docs copied to clipboard
Futures historic KLine often misses data
I've noticed that there seems to be lots of missing historic futures KLine data,
As an example if I query daily data between 1st and 3rd June 2021 (1622505600000 to 1622678400000) I get the expected (3 daily candles returned):
https://api-futures.kucoin.com/api/v1/kline/query?symbol=ETHUSDTM&granularity=1440&from=1622505600000 &to=1622678400000
But if I try and get higher resolution candles, often no candles are returned, for example ( for the same period but hourly, by changing granularity):
https://api-futures.kucoin.com/api/v1/kline/query?symbol=ETHUSDTM&granularity=60&from=1622505600000 &to=1622678400000
returns no candles.
{
"code": "200000",
"data": []
}
Any ideas why? I've observed the same thing on lots of different symbols, granularities and timespans.
Best regards
Jamie
Hello
We are optimizing Kline endpoint for Future.
For the time being please use pagination to obtain more data.
For more information please refere to main API TELEGRAM GROUP and state your issue there to get guide from Admins there.
Also you can refer to API Learning Center Channel
And also always check Notification Channel