how to print 5 min candle historical data continuously on live market please help

how to print 5 min candle historical data continuously on live market please help

Hi Pratik,
If you need 5 min candle specifically, you can call the history API in a loop.

hi Vikram, if that is the case then what is the purpose of websocket data? i though to make 5 min candles in live market, you need to use websocket data? can you please explain

@vikram_sri can you please answer the above question

The websocket provides tick data, if you have logic to convert them to 5 min candles data you can try that out.