Automate tick data 100% CPU usage after aborting

Created at 09 Sep 2020, 12:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
FR

Frugler

Joined 04.06.2020

Automate tick data 100% CPU usage after aborting
09 Sep 2020, 12:40


Hello! When running automate on long period (more than 6 months) on tick data with resources pulled at 100% the CPU usage remains maxed out for more than a minute (usually hour or more) when aborting in the mid way.

Would it be possible to kill the optimization threads when optimization is manually interrupted? Maybe something like this once user has pressed the stop button:

optimizerThread.Interrupt();
if(!optimizerThread_.Join(60000)) {
   optimizerThread.Abort();
}

 


@Frugler
Replies

PanagiotisCharalampous
09 Sep 2020, 15:51

Hi Frugler,

Can you provide us with a cBot that will allow us to reproduce this behavior?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous