Post subject: Abort Historical Tester run from code
Post rating: 0
Posted: Mon 06 Dec, 2010, 03:55
User rating: 1
Joined: Sun 05 Dec, 2010, 08:44 Posts: 21
I would like to have a Historical Tester run aborted from within the Strategy code if a specified condition is met. This would be useful during Optimization so that CPU cycles would be saved for other passes, ultimately saving a lot of time overall.
The option "Stop Strategies on Exception" is checked however even after I write code to throw a JFException in orderto try to halt the Tester, the Historical Tester continues to read new ticks and the Message log is flooded with the Exception message, so the Tester is not completely aborted after an exception.
Is there some function to completely abort an Historical Tester run (or equivalently, an Optimization pass)?
API Support
Post subject: Re: Abort Historical Tester run from code