I am trying to do the similar thing. But so far no success. Once we execute kws.connect an infinite loop starts. And the callback function on_close is only called when the main function stops receiving all the ticks and that includes post market hou…
Its been happening everyday lately. Same error happened on AWS ec2 instance as well as on my windows 10 pc. This is the code that i am running, to save tick information into a database. Today also everything was running fine until 2.12PM when the m…
I have received similar error today while using websockets
INFO:root:Order extraction failed: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /orders (Caused by NewConnectionError(': Failed to establish a new co…