Hi, Since a couple of days I am see many "Gateway connection error" messages when getting quotes especially next month quotes. This is got to a point that its just unacceptable. Quote api is to - put it mildly - totally crappy. Using historic api to get current quote is not an option. Please give a permanent solution where siple quopte requests even i in some 3 to 4 hours doesnt retrieve quotes consistently. Any ideas?
Can you let us know which version of pykiteconnect you are using?
The old quote call is provided by our OMS vendor TR. It is known to have random and intermittent issues lately. We would suggest using new Quote API calls. If it takes time for migration then you can write your custom request to api.kite.trade/quote. You can check out the documentation for more information about request and response.
datais not present.
this is an excerpt from my code. The above code works when i test it out. But then on deploying to Amazon AMI i get error key
datanot found which only means that quote was not returned . Have you seen this issue? Any clues?
response.json()while running in AMI?
Can you clarify if the one second limit is only for http quote response and not for python quote api right?