Hi, You can get latest five-minute candle data. But, historical data is provided for backtesting purposes. It is not ideally meant for the use case wherein you keep fetching candle after 5 or 15 minutes. I would suggest generating candles at your end.
A 5minute candle is generated using five 1minute candles. You need to listen to ticks coming from Kite ticker and generate candles like this, open -> first LTP of the minute. high -> highest LTP of the minute. low -> lowest LTP of the minute. close -> last LTP of the minute.
You can get latest five-minute candle data. But, historical data is provided for backtesting purposes. It is not ideally meant for the use case wherein you keep fetching candle after 5 or 15 minutes. I would suggest generating candles at your end.
A 5minute candle is generated using five 1minute candles. You need to listen to ticks coming from Kite ticker and generate candles like this,
open -> first LTP of the minute.
high -> highest LTP of the minute.
low -> lowest LTP of the minute.
close -> last LTP of the minute.