Hi Team, What I observed is Close and Volume of historic candle is not matching in live market? exact end of the minute a candle is not available. AT EOD, when I am comparing, its matching. What I learn from below thread is there is delay in writing 1 minute candle in Database https://kite.trade/forum/discussion/2477/historical-data-issue
So My question is, Is it there any flag available in candle which indicate that candle is complete or not?
No, there is no flag to know whether the received last candle data is accurate.
Actually , historical data is provided only for backtesting purposes and not for live strategies due to the problem faced by you.
As told by Sujith Sir in the above thread:
1. If you still want to use historical data api,you can add some delay and then fetch data.
2.You can use websocket and generate live candles at your end. https://kite.trade/docs/connect/v3/websocket/
Actually , historical data is provided only for backtesting purposes and not for live strategies due to the problem faced by you.
As told by Sujith Sir in the above thread:
1. If you still want to use historical data api,you can add some delay and then fetch data.
2.You can use websocket and generate live candles at your end.
https://kite.trade/docs/connect/v3/websocket/
https://kite.trade/forum/discussion/2604/convert-ticks-to-candle#latest