kite.historical("3291649", "2017-01-2017","2017-01-31", "5 minute", "continuous=False")

santhosh
File "one.py", line 41, in
print(kite.historical("3291649", "2017-01-2017","2017-01-31", "5 minute", "continuous=False"))
File "work/pykiteconnect-master/kiteconnect/__init__.py", line 522, in historical
"continuous": 1 if continuous else 0})
File "/work/pykiteconnect-master/kiteconnect/__init__.py", line 577, in _get
return self._request(route, "GET", params)
File "/work/pykiteconnect-master/kiteconnect/__init__.py", line 668, in _request
raise(exp(data["message"], code=r.status_code))
kiteconnect.exceptions.TokenException: Invalid API credentials
  • sujith
    Hi,
    You need to subscribe for an add-on subscription for using historical data.
Sign In or Register to comment.