jugaad-py / jugaad-trader

Unofficial python client for Zerodha
https://marketsetup.in/documentation/jugaad-trader/
156 stars 110 forks source link

kite.quote/ltp not working #36

Closed kiriace closed 10 months ago

kiriace commented 2 years ago

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

csatoskar commented 2 years ago

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.

sbrahmam commented 2 years ago

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.

csatoskar commented 2 years ago

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

ssheikh098 commented 2 years ago

were you able to resolve this issue?

ashishanand7 commented 2 years ago

Upgrade kiteconnect to fix this