ICICI Direct Token with TOTP
As you aware that after activating the API in Breeze you need to have get the token for the login, As I am using python, I have enabled the TOTP with Authy and using the same with auto login. but I am not able to log in to the Openalgo after the activation. I am getting error message 'Public Key does not exist'. As there is no option for the token. pls extend your support and enable the same with ICICI.
The issue here is that the api_key has to be encoded as it will be used in the URL. To fix this issue, do the following:
In the broker_login function (blueprints/auth.py) add these three lines after the broker_name is set in line 63: if broker_name == 'icici': import urllib BROKER_API_KEY = urllib.parse.quote_plus(BROKER_API_KEY)
Icicidirect is now removed from our newer versions. have to close this ticket for time being as we stopped supporting icicidirect.