Issue with Fyers Web Socket. Ticker data is interchanged

Hi Fyers Team,

I had subscribed to the prices of Nifty Bank and Nifty50 and I was getting the data on every tick as required. At 15:03:00, I had a Fyers websocket error and it got reconnected automatically. But after reconnection, the ticker symbol data and the prices were mixed. I was getting the symbol as NiftyBank but the price received was of Nifty50.

I have attached log snapshots of the issue at 15:05 and also the snapshot at 9:17 AM when the system was working properly.

Can anyone help with sorting the issue?

Hi @ramksree-q9d

Are you sure you handled data properly, looks you jumbled the data as I can see only LTP.

Show me whole logs so that we can check.

Hi @Z4PBvkQGyF

The image above will show both the Ticker symbol and the LTP that is received from the web socket.

I can share the whole log file and also the terminal Outputs I received when the code was running. When I try to attach it or send it as a DM, it says content/plain not allowed. My file is in .log format. . Its a long file which will log every tick and the symbol I receive. So let me know any other ways in which I can share you the file.

Thank you

Sree Ram

Hi @ramksree-q9d

upload on the google drive and share the drive link Via DM

Hi @Z4PBvkQGyF

I have shared you the link in DM. Can you please check

Was this issue resolved? I am still facing the issue. This is similar to https://fyers.in/community/t/ltp-getting-mixed-up-with-different-symbols/13396

Hi @9IC04gMybe

Sorry for the late reply. I still have this issue. I posted another post for this same issue recently also. @Chirag helped me out with a workaround(Please check the comments section). He pointed out that whenever we get such bad tick, the exch_time_stamp is wrong. Its somewhere in the 1970 range. So like Chirag pointed, I built a filter to check if the timestamp is right. If yes, I proceed with the tick.

But the issue still exists.

https://fyers.in/community/t/data-mismatch-during-subscription-disconnection/13485