Framework Reference
WEALTHLAB FRAMEWORK / CLASS REFERENCE

IOptimizerHost

API documentation, members, signatures, and C# examples.

Search the framework

Find classes, members, and documentation.

NamespaceWealthLab.Backtest
Parent

The IOptimizerHost interface allows Optimizers, classes derived from OptimizerBase, to communicate with their host Optimization window. It provides access to the Strategy, benchmark results, selected performance metrics, and optimizable Parameters, and allows the Optimizer to report progress and Walk-Forward Optimization (WFO) interval changes.

Members

6

BenchmarkBacktester

Backtester BenchmarkBacktester

Returns an instance of the Backtester class that represents the buy and hold benchmark backtest used for the optimization.

MetricNames

List<string> MetricNames

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

ReportProgress

void ReportProgress(double pctCompleted)

Reports the estimated progress of the optimization back to the host. Pass a value from 0 to 100 in pctCompleted.

WFOIntervalStarted

void WFOIntervalStarted(int intervalNum)

Notifies the host that a new Walk-Forward Optimization (WFO) interval has started. The intervalNum parameter specifies the interval number.

Need help with this API?

Ask the community or explore custom development services.