Fyers web socket not working anymore

Hi team,

The code was working fine just a day ago. Not sure why its giving authentication error.

The same access code works fine with fyersModel.

Hi hardik,
Can you see if you’ve installed 2 different versions of fyers API
You can find out by typing “pip freeze”

This is the supported package
https://pypi.org/project/fyers-apiv2/

Steps to setup the library are mentioned in detail here
https://github.com/FyersDev/fyers-api-sample-code/tree/sample_v2/My%20API%20Sample%20Script(GET%20STARTED)/websocket%20sample%20script

Let us know if you still face issues.

Hi Ajay,

Thanks for the update. I was traveling during the weekend. I just tested the sample code, it’s working now.

Also, I have noticed it only accepts 50 scripts (symbols), Any workaround is there if I want to get ticket data for more than 50 symbols?