Hello everyone,I'm frequently getting error 1006.My program does reconnect again and receives ticks as well but this error shows up every 30 seconds.Is it because of my internet connectivity?
Hi @sujith,I went through your link.None of the solutions in those links are working for me.The problem remains the same.please take a look and advice what is wrong.Thank you.
In the 2nd screen-shot, we see you are still performing computation inside on_ticks method in the main thread. You shouldn't do that. Shift all computations to the second thread. You need to go in detail with examples explained here.
OK @rakeshr so the on_ticks method which you are referring to,there also i need to create helper method? Or should I just remove computation from that part?
Error resolved,Implemented Queue,thanks to @RA7526 for sample Code. My strategy is bit computationally expensive and hence i was getting this error. After Implementing Queue my system seems to run cooler than before. thanks to @rakeshr and @sujith for quick response.
on_ticks
method in the main thread. You shouldn't do that. Shift all computations to the second thread. You need to go in detail with examples explained here.My strategy is bit computationally expensive and hence i was getting this error.
After Implementing Queue my system seems to run cooler than before.
thanks to @rakeshr and @sujith for quick response.