At what intervals are the historical data refreshed?? based on few post it was said it is refreshed as soon as the bar is complete: (Here is the sample log of data)
Hi @kiran, 5minute candles are generated using minute candles. In the above scenario, 13:15 candle might be giving value from only 4 candles. Since it involves DB insert, there is no guarantee for the interval. Also writing these minute candle will be happening simultaneously for all the scrips. Hence you never know, if one insert is delayed by 1 second then all the candles will be delayed by 1 second.
I would suggest building your own candles based on websocket data.
5minute candles are generated using minute candles.
In the above scenario, 13:15 candle might be giving value from only 4 candles.
Since it involves DB insert, there is no guarantee for the interval. Also writing these minute candle will be happening simultaneously for all the scrips. Hence you never know, if one insert is delayed by 1 second then all the candles will be delayed by 1 second.
I would suggest building your own candles based on websocket data.