Hello @shruthi_shetty,
I am trying to migrate API V2 to V3 but getting an error for fyerstest module. How to resolve this error?

Hello @shruthi_shetty,
I am trying to migrate API V2 to V3 but getting an error for fyerstest module. How to resolve this error?

Hi @chaitanyakalyani.demat-vbz ,
Can you remove this line from code “from fyerstest.fyers_api import SessionModel” and try again.
Hi, the V2 will work on Monday right? Is it like I have to migrate this weekend? I only use order placement and order book functions. I do not use data feeds from Fyers API.
Hi Arindam,
API V2 will be operational on Monday. Although there’s no strict deadline for migration as of now, I recommend upgrading to the latest API V3 at your earliest convenience.
Hello @ZppA1qLXjC ,
Thanks a lot for immediate reply.
I tried to take the code from the link
because of that issue was happend.
That issue was resolved but I am getting an error for creating a Fyers socket. Getting the below issue when I update my application as well as when I created a test program as well. The same issue getting repeated. If you want I can share my test program for creating sockets. I am trying to create a socket for INFTY-50 Index.
Hi @chaitanyakalyani.demat-vbz ,
Can you please check now and let me know if it’s giving the same error
Hello @ZppA1qLXjC ,
Now able to fetch index prices. I think there was an issue with Fyers web server for the web socket.
I observed one more issue. When I connect with the socket my tkinter GUI becomes laggy.
The issue was not api V2 but getting issue with api V3.
Hi @chaitanyakalyani.demat-vbz ,
Certainly! If your Tkinter GUI experiences lagginess while connected to the WebSocket, it could be due to the high frequency of updates and the processing of incoming messages. As this new WebSocket delivers updates swiftly with a response time even faster than apiv2, Please explore alternative strategies to manage this situation more effectively.
Hi @chaitanyakalyani.demat-vbz ,
We fixed the high CPU utilization issue. Please update SDK to version 3.0.3