jugaad-py / jugaad-trader

Unofficial python client for Zerodha

Home Page:https://marketsetup.in/documentation/jugaad-trader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kite.quote/ltp not working

kiriace opened this issue · comments

kite.quote(["NSE:INFY", "BSE:INFY"])

D:\anaconda3\lib\site-packages\kiteconnect\connect.py in quote(self, *instruments)
564 ins = instruments[0]
565
--> 566 data = self._get("market.quote", {"i": ins})
567 return {key: self._format_response(data[key]) for key in data}
568

D:\anaconda3\lib\site-packages\kiteconnect\connect.py in _get(self, route, params)
815 def _get(self, route, params=None):
816 """Alias for sending a GET request."""
--> 817 return self._request(route, "GET", params)
818
819 def _post(self, route, params=None):

D:\anaconda3\lib\site-packages\jugaad_trader\zerodha.py in _request(self, route, method, url_args, params, is_json, query_params)
174
175 # native Kite errors
--> 176 exp = getattr(ex, data.get("error_type"), ex.GeneralException)
177 raise exp(data["message"], code=r.status_code)
178

TypeError: getattr(): attribute name must be string

Following error coming while running !pip install jugaad-trader ..plz suggest...tnx
Error: The login session has expired or doesn't exist. Please try again.

I am also facing same issue since today's morning. Changed accounts, delete files in "AppData" Folder. But no use. Seems something at Broker's end changed.

I am also facing same issue since today's morning. Changed accounts, delete files in "AppData" Folder. But no use. Seems something at Broker's end changed.

hey bro if u have u got any solutions plz do let me know..thanks

were you able to resolve this issue?

Upgrade kiteconnect to fix this