Intraday Candle Data V3

I’m talking about Upstox historical data. I need the current working day’s data, but from the intraday candle data API (v3), I’m getting the candles with about a 20-second delay. So, if I need data for multiple instruments, I’ll end up being 20–25 seconds behind the market. This delay could cost me money, because for both entering and exiting positions at the candle’s open, I’ll face a 20–25 second lag, which could lead to losses.

Current Time: 11:26:19
instrument_token tradingsymbol Date Time Open High Low Close Volume
0 NSE_EQ|INE423A01024 ADANIENT 2025-08-12 11:24:00 2282.4 2282.4 2280.6 2281.0 1625

Current Time: 11:26:20
instrument_token tradingsymbol Date Time Open High Low Close Volume
0 NSE_EQ|INE423A01024 ADANIENT 2025-08-12 11:25:00 2282.0 2282.0 2280.4 2280.4 1983

1 Like

Hi @Rajveer_6074645 for this use case please subscribe to websocket → Market Data Feed V3 | Upstox Developer API

For a simpler implementation of WebSockets, please refer to the streamer functionalities available in different SDKs:

Thanks!

but market socket dose not give index full sub

Dear Upstox Support Team,

I am using the OHLC Quotes V3 API (endpoint: /market-quote/ohlc) for fetching live and previous OHLC data.
I have observed that the prev_ohlc candle data is updated with a delay of around 4–5 seconds after the actual minute ends.

For example, when checking at 2025-09-01 13:49:02, the prev_ohlc data still shows the 13:48:00 candle.
This delay causes issues in strategies where the finalized previous candle is required immediately at the start of the new minute.

Sample Response Snippet:
Date Time Symbol Type Open High Low Close Volume
2025-09-01 13:48:00 HDFCLIFE prev 780.55 780.90 780.20 780.60 884
2025-09-01 13:47:00 NESTLEIND prev 1172.50 1172.90 1172.20 1172.20 253

websocket dose not probed last minh phlc some cases Running main_function at 2025-09-02 10:14:03
instrument_token tradingsymbol Date Time Open High Low Close Volume
8 NSE_EQ|INE059A01026 CIPLA 2025-09-02 10:12:00 1587.9 1587.9 1587.80 1587.90 614
18 NSE_EQ|INE095A01012 INDUSINDBK 2025-09-02 10:12:00 754.5 755.0 754.15 754.15 4101
29 NSE_EQ|INE742F01042 ADANIPORTS 2025-09-02 10:12:00 1342.8 1342.8 1341.30 1342.10 5428
38 NSE_EQ|INE437A01024 APOLLOHOSP 2025-09-02 10:12:00 7684.0 7686.0 7681.00 7681.00 343
42 NSE_EQ|INE019A01038 JSWSTEEL 2025-09-02 10:12:00 1041.2 1041.2 1041.00 1041.10 460
taking time in process 0.14 sec