Hi, I'm trying to get quote stream using python client and getting the follwing error. ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: close reason without close code)
Following is the code, I'm using pretty much. Could anyone tell me, what the possible issue is? I tried looking into the documentation. But it doesn't say anything about close code being mandatory. I tried without close code as well. It still throws the same error.
@sujith thanks, but I have already gone through that section thoroughly. I did not find this error reported anywhere. There are different types of connection error reported there, but on this one. I just need to understand if I'm doing anything wrong. I pretty much followed the documentation and video tutorials.
I just need to understand if I'm doing anything wrong
insert_tick=insert_ticks(ticks) Looks like, you are performing computation inside on_tick thread, which blocks whole ticker. This thread should help to understand more on above issue.
insert_tick=insert_ticks(ticks)
Looks like, you are performing computation inside on_tick thread, which blocks whole ticker.
This thread should help to understand more on above issue.