Search Framework:
IStrategyHost
Namespace: WealthLab.Backtest
Parent:

The IStrategyHost interface allows Performance Visualizers to communicate back to their host Strategy window.

Members
Backtester
Backtester Backtester

Returns the instance of the Backtester for the Strategy window.


BenchmarkBacktester
Backtester BenchmarkBacktester

Returns the instance of the Backtester that ran the buy & hold benchmark comparison run for the Strategy window.


ChartSymbolAtBar
void ChartSymbolAtBar(string symbol, int idx)

Causes the Strategy window to jump to the chart tab, and then chart the specified symbol, and scrolling to the index specified in idx.


ParameterDefaultsChanged
void ParameterDefaultsChanged()

Informs the Strategy window that the Strategy Parameter defaults have been changed, typically by an Optimization Visualizer.


RunWithOverrides
void RunWithOverrides(List<double> overrides)

Causes the Strategy window to run a backtest using the specified set of Parameter override values.


SaveParameterDefaults
void SaveParameterDefaults(List<double> paramValues)

Causes the Strategy window to save the Parameter values in the paramValues parameter as the defaults for the Strategy.


ShowTabPage
void ShowTabPage(StrategyWindowTab tab)

Causes the Strategy window to switch to the tab page specified by the tab parameter. Possible values of this enumerated type are:

  • Settings
  • Designer
  • Signals
  • BacktestResults
  • Chart
  • Optimization
  • DebugLog
  • PreferredValues

Strategy
public Strategy Strategy

The instance of the Strategy class for the Strategy in the host window.