Fyers API V3 data websocket unsubscribe not working properly

Hi,

In my python program, even after unsubscribe statement and getting subsequent 'unsub' message successfully, the on_message is getting triggered for the same unsubscribed symbols.

my code :

fs_data_websocket.unsubscribe(symbols=cur_symbols, data_type=data_type)
time.sleep(1)

As mentioned in one of the earlier threads, I have changed the line no. 1743 in data_ws.py as "if symb not in self.symbol_token:" But even after that, i am facing the same issue.

How to resolve it.

James R M

3 replies