¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Program finishes before EWrapper stops


 

Good Morning,?

I have noticed that the EWrapper will still receive info even after the program has finished e.g. historical data. I have found this annoying because I want the program to finish only after the EWrapper has finished. I have been able to manage this so far by creating a while loop that stops once the the EWrapper has stopped. i.e. I will put a counter in whatever EWrapper function I'm using and the while loop will stop once the counter has reached some number.?

Does anyone have a (much) better idea? I've been trying to understand how the threading works with no avail.?

Cheers,?