@Pradeep_Jaiswar I see delays even after using the Market Data Feed V3
The ltps are coming with 1-3 seconds delay and sometime as much as 8 second delays
It is very hard to work with such inconsistent data.
Hi @Kautilya
From our side, we do not observe any such delays. If there were a delay of 1-3 seconds in the LTP from the server side, all users would experience a similar delay.
Kindly check your local network speed and code setup for any potential issues.
Additionally, please share the instrument keys and the specific time when you encountered the delay so that we can verify it on our end as well.
Hi @Ketan, Thank you for your response
As you can observe from the logs I have mentioned
The time difference is not in the received time and processsing time(System.currentTimeMillis() - feedResponse.getCurrentTs()), Received time is mostly less than 3ms.
While the difference in time is from LTPC time LTT(System.currentTimeMillis() - ltpc.getLtt()), Here the time difference is some times 1-3 seconds
I am observing this everyday, when I am trying to make the 5 minute candle from the previous minute candle, instead of getting the close price before 10:25:00.000 I am getting data somewhere between 10:25:00.040 - 10:25:02.144
I am pasted the logs as well in the original post
I am observing this in these instrument keys
NSE_EQ|INE263A01024
NSE_EQ|INE591G01017
NSE_EQ|INE646L01027
NSE_EQ|INE531E01026
NSE_EQ|INE114A01011
NSE_EQ|INE066F01020
NSE_EQ|INE417T01026
@shanmu@Ketan
Iām experiencing a consistent issue with data delays in at least one of the instruments mentioned above. This occurs approximately every 5 minutes and is preventing me from accurately calculating 5-minute candles. This, in turn, is causing my trading strategy to fail. I need a resolution to this problem as soon as possible. Are there any updates or solutions available?
@shanmu Yes I am still facing the same issue
These are the logs of the data that is delayed, this data is suppose to come before 11:40:00 but is delayed by the ltpcTimeDiff amount of milliseconds
@shanmu@Ketan Same delays everyday. Can you keep me updated if you are looking into this?
It is not possible for me to use the websocket with such delays
We have reviewed this matter with our internal team and confirmed that the ticks you receive are in sync with those displayed on our Pro Web charts and mobile app charts. This data is sourced directly from the exchange.
Additionally, please do not interpret currentTs - LTT as a delay. If a stock has not been traded in the current tick that you receive, its LTT will remain unchanged.
If you subscribe to more volatile instruments, such as the Nifty contract with the highest OI for next weekās expiry, you will notice that its LTP updates more frequently compared to other instruments.
Hi @Ketan
If as per you LTT is not the time of the last trade then how do we know the time of Last Trade, how do we make the current time interval candle if it is not provided and LTT doesnāt give the correct time of trade.
And even if I use the currentTs to construct the candle then the last price of the time interval doesnāt give the correct close price as it is seen on the upstox charts.
There is also a delay of around 5-6 seconds in the previous 1 minute candle data that we are receiving in every tick.
@Ushnota
There are significant number the dev api users that have been reporting this issue.
I have also been experiencing delays in ohlc 1 minute candle from market feed v3. Attaching a screenshot - the timestamp on the left is my system time when the candle is received. The timestamp on the right is the candle timestamp. You can see that there is a delay of 30 seconds in receiving the previous minute candle.
Hi @Ketan,
Data has been consistent from quite some time
But recently I again noticed some discrepency in data.
This is for BankNifty, which is highly volatile.
The last LTP received from API is different what is displayed on upstox charts
This was the last tick I received for 12:59 candle from websocket v3 and should be the close price of this candle but this is not the case with upstox charts,
as per the charts close price is 50168.85 niftybank LTP: 50165.55 time: 2025-04-09 12:59:59.530
Similar thing happened for 2:14 candle
Close price as per charts is 50249.80
Last tick received from websocket v3 is niftybank LTP: 50247.2 time: 2025-04-09 02:14:59.529