received wrong data . Algo trading failed. Please have a look at the data on message.

Received wrong data . Algo trading failed. Please have a look at the data on message.
This message I got from the api. So, there is no point that I have done anything wrong from our side. Please have a look.

************************* {‘ltp’: 33.5, ‘vol_traded_today’: 86905425, ‘last_traded_time’: 1754977855, ‘exch_feed_time’: 1754977855, ‘bid_size’: 4425, ‘ask_size’: 4500, ‘bid_price’: 33.5, ‘ask_price’: 33.6, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 3958125, ‘tot_sell_qty’: 1431225, ‘avg_trade_price’: 30.56, ‘low_price’: 17.7, ‘high_price’: 47.6, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 44.1, ‘prev_close_price’: 43.1, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: -9.6, ‘chp’: -22.2738} 33.5

************************* {‘ltp’: 58.25, ‘vol_traded_today’: 125770125, ‘last_traded_time’: 1754977855, ‘exch_feed_time’: 1754977856, ‘bid_size’: 225, ‘ask_size’: 2250, ‘bid_price’: 58.25, ‘ask_price’: 58.4, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 4093800, ‘tot_sell_qty’: 1479525, ‘avg_trade_price’: 52.2, ‘low_price’: 29.0, ‘high_price’: 79.95, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 74.7, ‘prev_close_price’: 69.85, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: -11.6, ‘chp’: -16.607} 58.25

************************* {‘ltp’: 44.2, ‘vol_traded_today’: 58384725, ‘last_traded_time’: 1754977856, ‘exch_feed_time’: 1754977856, ‘bid_size’: 3300, ‘ask_size’: 225, ‘bid_price’: 44.1, ‘ask_price’: 44.2, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 3641850, ‘tot_sell_qty’: 787125, ‘avg_trade_price’: 39.76, ‘low_price’: 22.35, ‘high_price’: 61.85, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 55.0, ‘prev_close_price’: 54.6, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: -10.4, ‘chp’: -19.0476} 44.2

************************* {‘ltp’: 58.25, ‘vol_traded_today’: 125770125, ‘last_traded_time’: 1754977855, ‘exch_feed_time’: 1754977856, ‘bid_size’: 225, ‘ask_size’: 2250, ‘bid_price’: 58.25, ‘ask_price’: 58.4, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 4093800, ‘tot_sell_qty’: 1479525, ‘avg_trade_price’: 52.2, ‘low_price’: 29.0, ‘high_price’: 79.95, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 74.7, ‘prev_close_price’: 69.85, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: -11.6, ‘chp’: -16.607} 58.25

************************* {‘ltp’: 44.2, ‘vol_traded_today’: 58384725, ‘last_traded_time’: 1754977856, ‘exch_feed_time’: 1754977856, ‘bid_size’: 3300, ‘ask_size’: 225, ‘bid_price’: 44.1, ‘ask_price’: 44.2, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 3641850, ‘tot_sell_qty’: 787125, ‘avg_trade_price’: 39.76, ‘low_price’: 22.35, ‘high_price’: 61.85, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 55.0, ‘prev_close_price’: 54.6, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: -10.4, ‘chp’: -19.0476} 44.2

************************* {‘ltp’: 24573.4, ‘vol_traded_today’: 2458505, ‘last_traded_time’: 1754977856, ‘exch_feed_time’: 2470260, ‘bid_size’: 2453075, ‘ask_size’: 2456335, ‘bid_price’: 44.1, ‘ask_price’: 44.2, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 3641850, ‘tot_sell_qty’: 787125, ‘avg_trade_price’: 39.76, ‘low_price’: 22.35, ‘high_price’: 61.85, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 55.0, ‘prev_close_price’: 54.6, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: 24518.8, ‘chp’: 44906.2271} 24573.4

************************* {‘ltp’: 33.5, ‘vol_traded_today’: 86909775, ‘last_traded_time’: 1754977856, ‘exch_feed_time’: 1754977856, ‘bid_size’: 600, ‘ask_size’: 7575, ‘bid_price’: 33.5, ‘ask_price’: 33.6, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 3957075, ‘tot_sell_qty’: 1432725, ‘avg_trade_price’: 30.56, ‘low_price’: 17.7, ‘high_price’: 47.6, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 44.1, ‘prev_close_price’: 43.1, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: -9.6, ‘chp’: -22.2738} 33.5

This error is occurring just after upgrade
pip install fyers-apiv3 --upgrade

Hello @102718138262037285829, our team has tested the same symbol on our end, and it worked as expected. Could you please try running it using our sample code? If the issue still persists, do let me know, and I’ll be happy to assist you further.

Thanks @DO4oDGcq5n for your reply. After the upgrade the code is not consistent with older fyers-v3 version.

I am able to fix the issue using the code above. However, not feeling confident that data feed will be correct in future. I am incrementally appending the symbols collect live data.

The mapping of symbol and ltp data from server was wrong. [there should be some locking symbol that has to be handed from server side to handle race-around condition]

{‘ltp’: 24573.4, ‘vol_traded_today’: 2458505, ‘last_traded_time’: 1754977856, ‘exch_feed_time’: 2470260, ‘bid_size’: 2453075, ‘ask_size’: 2456335, ‘bid_price’: 44.1, ‘ask_price’: 44.2, ‘last_traded_qty’: 75, ‘tot_buy_qty’: 3641850, ‘tot_sell_qty’: 787125, ‘avg_trade_price’: 39.76, ‘low_price’: 22.35, ‘high_price’: 61.85, ‘lower_ckt’: 0, ‘upper_ckt’: 0, ‘open_price’: 55.0, ‘prev_close_price’: 54.6, ‘type’: ‘sf’, ‘symbol’: ‘NSE:NIFTY2581424400PE’, ‘ch’: 24518.8, ‘chp’: 44906.2271}

Anyways, Thanks for your help. I will keep you posed in I get any further anomaly in data in future.