Your chart candle values change because Zerodha uses different data sources for live and historical candles. When you refresh your chart or open a new one, Zerodha replaces your locally-formed candles with the more accurate historical data stored on their servers.
How live candles form on your device
When you open a chart, your computer or mobile device creates live candles using price ticks that stream from Zerodha's servers. However, your device may receive fewer ticks than Zerodha's servers due to:
- Internet speed variations
- Connection interruptions
- Network uptime issues
This means the candles plotted on your device may slightly differ from the actual market data that Zerodha receives from exchanges.
How historical candles work
Zerodha stores historical candles on their servers using complete market data received directly from exchanges. When you refresh your chart or open a new one, Zerodha streams these accurate historical candles to replace the candles your device created during your previous session.
This replacement causes the slight differences you notice when refreshing or reopening charts.
Opening price adjustments on Kite charts
Zerodha adjusts the opening price of each day at approximately 9:20 AM to ensure accuracy. This adjustment happens because:
- Market opening experiences a surge in ticks that can cause discrepancies
- Your device may miss some opening ticks due to connection issues
How opening prices are corrected
Zerodha uses the actual opening prices published by exchanges:
- For stocks: The pre-market opening price from 9:07 AM
- For F&O instruments: The actual opening price from market depth data
When Zerodha recalculates and refreshes historical candles on your chart, they reflect these exchange-published opening prices rather than the opening prices your device initially captured. This ensures your charts display the most accurate market data available, even though it may differ from what you initially saw during live trading.