I want to get the market data in python using websocket, but getting error "Please provide a valid symbol". can i get some examples on what valid symbols for index, equity, futures, options etc.,
Also, why is the documentation is so chaotic, with out head and tail.
is it too much to ask for a sample program ?
the python file officially supplied is half baked and does not work.
it took me 2 days to figure out token generation, god knows how long it will take to get the streaming and order logic working.
symbols = ["NSE:TATAELXSI-EQ", "NSE:SBIN-EQ"]
i did the same, but still getting error
TypeError Traceback (most recent call last) in <module> ---->
1 session=accessToken.SessionModel(client_id=client_id,
2 secret_key=secret_key,redirect_uri=redirect_uri,
3 response_type= 'code', grant_type='authorization_code')
TypeError: __init__() got an unexpected keyword argument 'client_id'
how to resolve this error.....?
Hi Alpha,
Please try to uninstall any of the fyers-api currently installed in your system and try reinstalling even if then the issue isnt resolved will arrange for a call to get this checked
Thanks and Regards,
Piyush Kapse
Thank you Piyush SIr, after reinstalling fyers-apiv2, now working fine.
Thanks , was facing same issue , but now resolved after installing fyers-apiv2
Hi Krishna ,
can you share the code snippet in order for us to understand the method you are approaching and we will be further able to investigate the issue.
But the Symbols need to be passed in following format
symbol = ["NSE:SBIN-EQ","NSE:NIFTY2190917350CE"]
Hope this helps