run_backtest_for_module#
API documentation for tradeexecutor.backtest.backtest_module.run_backtest_for_module Python function.
- run_backtest_for_module(strategy_file, cache_path=None, trading_strategy_api_key=None, execution_context=<ExecutionContext backtesting, unspecified engine version>, max_workers=None)[source]#
Run a backtest described in the strategy module.
Designed for notebooks and console
Load all data and run a backtest
Will display multiple tqdm porgress bars and may print output
- Parameters:
- Returns:
(state, universe, diagnostics data tuple)
- Return type: