Was there an issue earlier today, only KiteTicker WebSocket code was not working, no ticks received, other APIs were working fine. I did re-run the code now, issue looks like resolved. Please let us know if any changes happened in python client code.
api its working now but throwing some weird errors from my script if you are python developer pls guide Message=datetime.datetime(2020, 10, 19, 16, 45)
We checked this. You don't seem to be setting access_token post generate_session. You need to set access_token as kite.set_access_token(data["access_token"]) before calling any API end_point.
throwing some weird errors from my script if you are python developer pls guide
anyone has fixed the issue for python?
please help
ly (WebSocket connection upgrade failed (403 - Forbidden))
print(kite.quote('NSE:INFY'))
this is working fine issue is only with ticker service
Message=datetime.datetime(2020, 10, 19, 16, 45)
access_token
postgenerate_session
.You need to set access_token as
kite.set_access_token(data["access_token"])
before calling any API end_point. Can you paste error stack trace here?elif event.type == "CANDLE":
event.data.update(token_dict[event.symbol]) # GETTING ERROR HERE
df = pd.DataFrame(event.data,index=[0])
updated code here pls see my file - https://www.dropbox.com/s/gl6ptsyrqiseny9/python-code.txt?dl=0
token_dict
is your internal defined data structure, you need to debug it. Kite Websocket part looks fine.