The Initialize() method runs only once when starting a strategy or indicator. Is there a similar method that will run only once when starting an optimization session?
For example, I want to perform a computationally expensive calculation on a set of historical data, then re-use the calculation during optimization on many inputs to speed up the optimization process. Is this possible?
Thanks!
Comment