Search Framework:
IOptimizerHost
Namespace: WealthLab.Backtest
Parent:

The IOptimizerHost instance allows Optimizers (classes derived from the OptimizerBase base class) to communicate their progress back to their host.

Members
BenchmarkBacktester
Backtester BenchmarkBacktester

Contains an instance of the Backtester class that represents the buy & hold benchmark backtest that was used for this optimization.


MetricNames
List<string> MetricNames

Returns the names of the performance metrics that were selected by the user at the time the optimization started.


OptimizableParameters
ParameterList OptimizableParameters

Returns the list of Parameter instances that are/were being optimized. This includes a union of the Strategy Parameters and any Position Size parameters that might have been selected for optimziation.


ReportProgress
void ReportProgress(double pctCompleted)

Reports the progress of the optimization back to the host. The pctCompleted parameter should be between 0 and 100.