As per current behavior, a static IP can be used only by one AngelOne account. What about other family members who want to access APIs?
@admin, you guys should increase the limit to 2 or 3 accounts per static IP
As per current behavior, a static IP can be used only by one AngelOne account. What about other family members who want to access APIs?
@admin, you guys should increase the limit to 2 or 3 accounts per static IP
If you want to reproduce the issue, call market data API continuously for 1 hour with a call rate of 1 request per second (basically approx 3600 requests per hour)
and if you guys configured any limit like the user can only call let's say 1000 requests per hour then please update the document
The same pattern today as well. for the first 15 minutes, API was working very well then stopped and started giving me errors -
SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'
Note: I am not hitting API multiple times in 1 second
You guys changed something. till yesterday, I was not facing this kind of scenario where API is working for a certain period of time and then stops providing data, and then after a certain period, it starts providing data again, and so on. Basically, API is not stable or you guys may put some kind of limit let's say for example for 1 hour the user only put xxx numbers of requests.
@admin it stopped again. something wrong here.
Getting error - Access denied because of exceeding access rate
note: I am placing a request in intervals of 5 seconds and the rate limit for this API is one request per second
Request Payload:
{'mode': 'FULL', 'exchangeTokens': {'NFO': ['66522', '38796', '40441', '66440', '42913', '44199', '44196', '44197', '50760', '50767', '60751', '60748', '63645', '66470', '64121', '66447', '66454', '66453', '66511', '64123', '66513']}}
@admin, it just started back.
Thanks!
@admin It was working till today 9:30 AM. After that suddenly stopped providing data.
@admin what is AMX Error - AB1007. I am getting this error for rms limit API only.
@admin facing this issue since yesterday.
@Rushey17 Yes that also works :+1:
@milind017 check value of angleOneURI, it should be like - otpauth://totp/<client id>?secret=<secrets>&issuer=angelone.in&algorithm=SHA1&digits=6&period=30
and there is no need for a while loop
@admin yes that I know. I am not stuck with that. just it is not the right way to do it. I am hoping you guys will update pip repository asap.
@admin, pip install smartapi-python is not up to date. it is still installing the old package which does not contain new changes of TOTP .
'pip3 install pyotp'
To get totp
totp = pyotp.parse_uri('angel totp uri')
totp = totp.now()
print(totp)
To get 'angel totp uri', scan QR (which generate after login at https://smartapi.angelbroking.com/enable-totp) using camera or QR code app.
Enjoy!