Unable to get quote - kiteconnect.exceptions.GeneralException: Route not found

IMPB
IMPB edited December 2018 in Python client
I am on Kite connect 3.6 and getting the following error while retrieving quote (kite.quote("NSE","TCS"))

Traceback (most recent call last):
File "", line 1, in
y = kite.quote("NSE","TCS")
File "C:\Users\someuser\AppData\Local\Programs\Python\Python36\lib\site-packages\kiteconnect\__init__.py", line 524, in quote
return self._get("market.quote", {"exchange": exchange, "tradingsymbol": tradingsymbol})
File "C:\Users\\AppData\Local\Programs\Python\Python36\lib\site-packages\kiteconnect\__init__.py", line 598, in _get
return self._request(route, "GET", params)
File "C:\Users\\AppData\Local\Programs\Python\Python36\lib\site-packages\kiteconnect\__init__.py", line 689, in _request
raise(exp(data["message"], code=r.status_code))
kiteconnect.exceptions.GeneralException: Route not found
  • rakeshr
    @IMPB
    Can you check, if you are using latest Python Kite Connect Client ? Do pip show kiteconnect and check, the version should be 3.7.6.
  • IMPB
    I am on older version (3.6) having trouble upgrading. But standard quote request should work right. All other requests like kite.positions(), kite.orders() and kite.order_place () are still working.
  • rakeshr
    @IMPB
    Can you try installing latest version using pip install kiteconnect==3.7.6
    if you are getting any issues related to twisted failing to build wheels.
    download appropriate platform twisted wheel from here https://github.com/zerodhatech/python-wheels
    and do `pip install /path/to/wheels/downloaded` and repeat `pip install kiteconnect==3.7.6`.
Sign In or Register to comment.