I am trying to get the price of an instrument from the quote function(kite.quote) and sometimes get an error like "ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)" or "'Connection to api.kite.trade timed out. (connect timeout=7)'))".
Whenever these errors come up,my code stops running.Please help me to understand the error and the approach to resolve these issues.
We are looking at it. For now, you can handle ReadTimeout exception at your end, something like: