public Backtester(ScriptExecutor executor) { this.backtestQuoteBarConsumer = new BacktestQuoteBarConsumer(this); this.Executor = executor; if (this.Executor.Strategy == null) return; if (this.Executor.Strategy.Script == null) return; this.Initialize(this.Executor.Strategy.Script.BacktestMode); }
public Backtester(ScriptExecutor executor) { this.backtestQuoteBarConsumer = new BacktestQuoteBarConsumer(this); this.Executor = executor; if (this.Executor.Strategy == null) { return; } if (this.Executor.Strategy.Script == null) { return; } this.Initialize(this.Executor.Strategy.Script.BacktestMode); }