Hi, I am using below function to capture last trade price for any stocks. But since today it is showing error. Please help. Since morning to till now not able to get the correct price. I am using python2.7
Function using quoteprice = kite.quote('NFO', 'NIFTY18MARFUT') price= quoteprice['last_price'] print(price)
Error: quoteprice = kite.quote('NFO', 'NIFTY18MARFUT') File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 501, in quote return self._get("market.quote", {"exchange": exchange, "tradingsymbol": tradingsymbol}) File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 593, in _get return self._request(route, "GET", params) File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 684, in _request raise(exp(data["message"], code=r.status_code)) kiteconnect.exceptions.DataException: Exception fetching quote
Hi @sjha_kumar Have you migrated to Kite connect 3 client?.You seems to be using older python client. For updating to latest python client, go through this.
Have you migrated to Kite connect 3 client?.You seems to be using older python client.
For updating to latest python client, go through this.