custom message function is not getting called to receive the Symbol update. The response is showing on console. I even tried with run_background flag as "True", then also "custom_message" function not getting called
fyers-apiv2, Version: 2.0.5
data_type = "symbolData"
symbol= ["NSE:SBIN-EQ"]
def custom_message(msg):
print ("Custome Message " + str(msg.response))
ws.websocket_data = custom_message
# ws.FyersSocket.websocket_data = custom_message
fyersSocket = ws.FyersSocket(access_token=access_token,run_background=False,log_path="D:/")
fyersSocket.subscribe(symbol=symbol,data_type=data_type)