backtest_runner#

tradeexecutor.backtest.backtest_runner module.

Module description#

Classes#

BacktestSetup

Describe backtest setup, ready to run.

Functions#

run_backtest(setup[, client])

Run a strategy backtest.

run_backtest_inline(*ignore, start_at, ...)

Run backtests for given decide_trades and create_trading_universe functions.

setup_backtest(strategy_path, start_at, ...)

High-level entry point for setting up a backtest from a strategy module.

setup_backtest_for_universe(strategy_path, ...)

High-level entry point for setting up a single backtest for a predefined universe.