Getting the following RuntimeWarning while subscribing to the FyresSocket and no data is received
Access_token = ENV_DATA.get('CLIENT_ID')+":"+access_token
data_type = "symbolData"
symbol=["MCX:CRUDEOIL21SEPFUT", "NSE:INFY-EQ"]
def custom_message(self):
print(self)
ws.FyersSocket.websocket_data = custom_message
fyersSocket = ws.FyersSocket(access_token=Access_token, data_type=data_type,symbol=symbol)
fyers-apiv2 version 2.0.4
any help is appreciated