Historical data interval-required URI parameter for day, week and month

Santosh
Hi,

I want to have time interval of 1hr, 4hr, 1Day, 1Week and 1 month in my application. Can you let me know the URI parameters for these intervals?

The API documentation mentions historical data is available in various formats:

"A historical record is presented in the form of a candle (Timestamp, Open, High, Low, Close, Volume), and the data is available in several intervals—minute, 3 minutes, 5 minutes, hourly … daily."

But it documents URI parameters only till 60Minute:

The candle record interval. Possible values are:

· minute
· day
· 3minute
· 5minute
· 10minute
· 15minute
· 30minute
· 60minute



Please help.

Thanks,
Santosh.
  • sujith
    Hi @Santosh,
    You can use 60minute for 1hr candle.
    You can construct 4hour candle using 1hr candles, open will be open of the first candle and close will be close of the last candle, high will be highest of all four highs and low will be lowest of all four lows.
    You can use day's candle data for getting day's data.
    You can use the same logic as mentioned above for week and month candles.
Sign In or Register to comment.