kws is successfully connected, there is no error messages, console shows streaming activity, yet no tick data is received , below is what console throws up without returning any tick data:
INFO:root:Successfully connected. Response: {"peer": "tcp4:15.206.87.180:443", "headers": {"date": "Mon, 30 Aug 2021 12:11:50 GMT", "connection": "upgrade", "upgrade": "websocket", "sec-websocket-accept": "9Ff+5bcnDvjaoY+EiaUh9iuuq+c="}, "version": 18, "protocol": null, "extensions": []} INFO:root:Subscribe to tokens in Full mode: [3454977] INFO:root:Current mode: full
@rakeshr on saturday and sunday, i.e. yesterday, it did return data.. however, even during the market hours today, it did not return any data... I had tried during market hours also..
Hi.. i could figure out that 'on_ticks' function 'inside the while loop' is not getting executed, the one that was defined prior to that, is getting executed.. AND returning ticks data now... I followed the related thread on same issue, and followed the suggestions there, but the error continues.
will await if you may provide feedback on the code provided earlier, if there is any mistake inside the while loop statements (for e.g. if one of the statements result in 'error' would it render entire while loop unexecutable?)
@sujit@rakeshr Hi.. kindly ignore, I could figure out problem and its solved now. tdf was getting indexed later than its index was referenced, just moved one line prior to inserting new columns in tdf and its solved.. many thanks for your help anyways...
@rakeshr thank you Rakesh. Much appreciate your response. I get it now. Because it was inside a try/except statement without raise Error, so it was silent, leaving me clueless. Debugged it now. Thanks!
You will receive only first cached tick in the non market hours.
will await if you may provide feedback on the code provided earlier, if there is any mistake inside the while loop statements (for e.g. if one of the statements result in 'error' would it render entire while loop unexecutable?)
you may kindly close this ticket