Search Framework:
StrategyEvolverResultList
Namespace: WealthLab.Backtest
Parent: List<StrategyEvolverResult>

A List of StrategyEvolverResult instances that contains some helper properties and methods. The list will contain instances for all generations of an Evolver run. It will contain the instances of both the Strategies that made it through the selected Evolver Filter, and ones that were filtered out. Since each Evolver run typically includes 20 candiate Strategies, if there were 10 generations processed then the list would contain 200 StrategyEvolverResult entries.

Methods
FindBest
public OptimizationResult FindBest(string metric, int generation, bool highestValue)

Returns the StrategyEvolverResult instance in this list that has the highest or lowest metric value in the specified generation. The highestValue parameter controls whether highest or lowest values are queried.


GetMaxMetric
public double GetMaxMetric(string metric, int generation, bool includeNonFiltered)

Returns the highest metric value in the specified generation. The includeNonFiltered parameter controls whether the search considers only Strategies that passed through the selected Evolver Filter, or all Strategies.


GetMinMetric
public double GetMinMetric(string metric, int generation, bool includeNonFiltered)

Returns the lowest metric value in the specified generation. The includeNonFiltered parameter controls whether the search considers only Strategies that passed through the selected Evolver Filter, or all Strategies.



Properties
MaxGeneration
public int MaxGeneration

Returns the highest generation number contained within this list.