kucoin-api-docs icon indicating copy to clipboard operation
kucoin-api-docs copied to clipboard

Futures historic KLine often misses data

Open jamierobertson1 opened this issue 3 years ago • 1 comments

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

jamierobertson1 avatar Feb 13 '22 21:02 jamierobertson1

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

progressivehed avatar May 18 '22 12:05 progressivehed