Error: Please provide valid Symbol

Error while fetching historic data for Banknifty Index, I am getting this error: Please provide valid Symbol

After updating to fyers v3 api, for logging in code I get this:

session = fyersModel.SessionModel(

^^^^^^^^^^^^^^^^^^^^^^^

AttributeError: module 'fyers_api.fyersModel' has no attribute 'SessionModel'

I had followed the steps as per Git.

Can you please assist me here? Originally, I want to get historical data for Banknifty index from v2 fyers where I am getting Invalid symbol error.

Thanks

7 replies