I need to access kucoin Open-high-low-close (OHLC) data from Kucoin API.
Looking in https://docs.kucoin.com/#get-trade-histories, I deduced that to access OHLC data (for instance BTC versus USDT, with hourly timestamp), the address should be something like this :
https://api.kucoin.com/api/v1/market/candles?symbol=BTC-USDT&type=1hour
Doing that, I get empty list for the data {'code': '200000', 'data': []}
(according to kucoin API doc, code 200000
correspond to a good request)
What I am doing wrong ?
ps : same method worked very well on kraken api (e.g. https://api.kraken.com/0/public/OHLC?pair=xbtusd )
ps2: this question was originally asked on https://stackoverflow.com/questions/56572249/how-to-access-kucoin-ohlc-data-from-api but with no response for the moment. Perhaps this bitcoin stackexchange is better adapted.
Thank you very much in advance for your help !