OnOptimize()
<< Click to Display Table of Contents >> OnOptimize() |
This method must be overridden in order to optimize a strategy. This method is called once per optimization run (not once per iteration).
This method does not return a value.
protected override void OnOptimize()
{
}
protected override void OnOptimize() { // If there is no optimization objective, return if (Strategies[0].OptimizationParameters.Count == 0) return;
// Optimizer logic } |