It looks like you're new here. If you want to get involved, click one of these buttons!
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
kiteconnect not working today ?
The code that has been working till Y'day , doesn't seem to be working today.
The kiteconnect.getLTP is returning an empty Map for any instrument.
Is it happening only for me or across the board ?
There was no change in code, I got the access and public tokens this morning as usual and stored them in the DB. No changes from my side at all. The kiteConnect.getLTP and kiteConnect.getQuote have just stopped working. They just return an empty map today.
Can you paste the complete stacktrace here by running with debug logs enabled?
Make sure to remove app and session related tokens.
This is my code snippet that has been working fine for over a month now, and my subscription is active till 6th DEC.
And this is the debug info for line ltpMap = kiteConnect.getLTP(instrument);
We need relevant information to debug the issue and the above things don't make any sense from the APIs perspective.
So basically there is no Exception. kiteconnect is returning an empty map for any instrument.
the call kiteconnect.getLTP("INFY") looks as follows in debugger
The call looks as follows in debugger
The last 'step in' for get LTP looks as follows
Please note that kiteconnect is not throwing any Exception. Just that its returning an empty map for getLTP and getQuote, for all instruments
Ignore this. This is from my local and I missed to put NSE: in symbol. But basically I tried it on local because, the getLTP in my server code deployed in amazon cloud was giving an issue.
This discussion has been closed.