GetQuote is giving proper response only 20% of the times, for rest 80% of times it throws exception. To get the response I need to call the API in a loop till I get the response.
For my usecase, I need to get Quote for 100+ symbols in a loop. When I do this, it fails. I need to run outer loop to cover the failed symbols and run indefinitely till I get response for atlas 90% of symbols.
Why getQuote API fail in an attempt, but it works again on next attempt.
@sin what you are doing is inefficient at two ends: 1) zerodha servers get clogged with API calls for live quotes 2) your system resources held up with API calls, which is resource intensive
You need to go to websockets for getting live data... You can stream for 200 symbols without any issues.
Can you elaborate what you are trying to do with getQuote?
Why getQuote API fail in an attempt, but it works again on next attempt.
How do I overcome this?
You need to go to websockets for getting live data... You can stream for 200 symbols without any issues.