setup_backtest#

setup_backtest(strategy_path, start_at=None, end_at=None, initial_deposit=None, max_slippage=0.01, cycle_duration=None, candle_time_frame=None, strategy_module=None, name=None, minimum_data_lookback_range=None)[source]#

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

This function is useful for running backtests for strategies in notebooks and tests.

Parameters:
Return type:

BacktestSetup