Facing same issue... Have you solved it ?
Question
FYERS API When trying to get OrderData using WebSocket, getting the following error; (<class 'RuntimeError'>, RuntimeError("There is no current event loop in thread 'Thread-7'."). This error is obtained on fyersSocket.subscribe(). I've made sure that access token & data_type is entered properly as per the V2 documentation. Couldn't find this error message in the list of error codes too. Any help would be appreciated.
When trying to get OrderData using WebSocket, getting the following error; (<class 'RuntimeError'>, RuntimeError("There is no current event loop in thread 'Thread-7'."). This error is obtained on fyersSocket.subscribe(). I've made sure that access token & data_type is entered properly as per the V2 documentation. Couldn't find this error message in the list of error codes too. Any help would be appreciated.
Join FYERS Community to pick others' brains on Trading/Investing