I need to get historical minute wise data for 50 to 200 stocks minimum so i have started daemon for each stock which keep on pulling minute history for every stock , since historical doesnt support array or list of stock i had to do this . but i am getting following errors .
File "/usr/local/lib/python3.4/dist-packages/kiteconnect/__init__.py", line 538, in historical "continuous": 1 if continuous else 0}) File "/usr/local/lib/python3.4/dist-packages/kiteconnect/__init__.py", line 593, in _get return self._request(route, "GET", params) File "/usr/local/lib/python3.4/dist-packages/kiteconnect/__init__.py", line 684, in _request raise(exp(data["message"], code=r.status_code)) kiteconnect.exceptions.NetworkException: Too many requests
ok i will take care then ? is this 3request only for quotes or overall ? i mean should i also consider historical and quote together ? is there any limit on data transfer ?
Historical APIs has rate limiting of
3request/sec
, so make sure to introduce proper delay in loop.