Getting errors in websocket & history API. @FyersTeam Could you guys look into this issue?
Websocket Market Data
data_type = "symbolData"
symbol = ["NSE:SBIN-EQ"]
fyersSocket = ws.FyersSocket(access_token=Access_token, data_type=data_type,symbol=symbol)
Error message:
{'s': 'error', 'code': -300, 'message': 'Please provide a valid symbol'}
Historical AP:
data = {"symbol":"NSE:SBIN-EQ","resolution":"D","date_format":"0","range_from":"1629085327","range_to":"1630058460","cont_flag":"1"}
fyers.history(data)
Error message:
{'s': 'error', 'code': -438, 'message': 'your app does not have the permission'}