title: How to access Kucoin OHLC data from API?
body: <p>I need to access kucoin Open-high-low-close data from Kucoin API.</p>
  
  <p>Looking in <a href="https://docs.kucoin.com/#get-trade-histories" rel="nofollow noreferrer">https://docs.kucoin.com/#get-trade-histories</a>, I deduced that to access OHLC data (for instance BTC versus USDT, with hourly timestamp), the address should be something like this : </p>
  
  <pre><code>https://api.kucoin.com/api/v1/market/candles?symbol=BTC-USDT&amp;type=1hour
  </code></pre>
  
  <p>Doing that, I get empty list for the data <code>{'code': '200000', 'data': []}</code>
  (according to kucoin API doc, code <code>200000</code> correspond to a good request)</p>
  
  <p>What I am doing wrong ?</p>
  
  <p>ps : same method worked very well on kraken api (e.g. <a href="https://api.kraken.com/0/public/OHLC?pair=xbtusd" rel="nofollow noreferrer">https://api.kraken.com/0/public/OHLC?pair=xbtusd</a> )</p>
  
  <p>Thank you very much in advance for your help !</p>