Search Framework:
IOptimizationHost
Namespace: WealthLab.Backtest
Parent:

The IOptimizationHost interface allows Optimization Visualizers to communicate with their host Optimization (Strategy) window. It provides access to the Optimizers used during an optimization and methods for running WFO backtests, displaying detailed results, and communicating optimization results between Visualizers.

Members
InterimRunCompleted
void InterimRunCompleted(StrategyOptimizer stratOpt, OptimizationResult or)

Notifies the host that an optimization run has completed so that interim Optimization Visualizers can be updated. The stratOpt parameter contains the StrategyOptimizer performing the optimization, and or contains the OptimizationResult for the completed run.


OptimizationMethod
OptimizerBase OptimizationMethod

Returns the selected Optimizer, an instance of the OptimizerBase class, that was used during the optimization.


PushValuesToOtherVisualizers
void PushValuesToOtherVisualizers(OptimizationResult or)

Pushes the values contained in the specified OptimizationResult to other Optimization Visualizers associated with the host Optimization window. This allows one Optimization Visualizer to communicate a selected or otherwise relevant result to the other Visualizers.


RunWFOBacktest
void RunWFOBacktest()

Causes the Strategy window to run a backtest using the completed out-of-sample WFO Parameter values.


ShowDetailedResults
void ShowDetailedResults(WFOResult wfor)

Causes the Strategy window to display detailed results for the WFOResult instance passed in the wfor parameter.


StrategyHost
IStrategyHost StrategyHost

Returns an instance of the IStrategyHost interface that provides access to the host Strategy window.


StrategyOptimizer
StrategyOptimizer StrategyOptimizer

Returns the StrategyOptimizer instance being used to perform a standard optimization.


WFOOptimizer
WFOOptimizer WFOOptimizer

Returns the WFOOptimizer instance being used to perform a Walk-Forward Optimization (WFO).