Market-quote ohlc intermittently not updating the last minute candle

A recommended approach for accessing real-time candle data is through a market data websocket. This service provides the latest and the preceding candle data in real-time for both 1-minute and 30-minute intervals. For daily data, it offers the current day’s candle information.

Be aware that intraday candles are stored in a CDN for enhanced performance, which may result in a slight delay before reflecting the most up-to-date data.

We also offer example code for websockets in various programming languages, including Python, PHP, Node.js, Java, and React.js. You can find these samples at Sample Implementation | Upstox Developer API.