coinexcom / coinex_exchange_api

The global digital coin exchange.
188 stars 87 forks source link

Specify date range in KLine query #72

Open pcko1 opened 3 years ago

pcko1 commented 3 years ago

https://github.com/coinexcom/coinex_exchange_api/wiki/024kline has no arg to specify date. Am I missing something?

h-varmazyar commented 3 years ago

use this URL instead: https://www.coinex.com/res/market/kline?market=CFXUSDT&start_time=1631707841&end_time=1631995841&interval=900

interval based on second (900 equals to 15minutes)