E_RUN_001 — Backtest run before set_strategy()¶
BacktestRunner.run_*() was called without first attaching a strategy
via set_strategy(). The runner needs a strategy to know what to do
with each bar.
How to fix¶
Common causes¶
- The strategy class was instantiated but never passed to
set_strategy(). - Code was refactored and the
set_strategy()call accidentally removed.