alpheast.engine module¶
- class alpheast.engine.BacktestingEngine(options, data_source, strategies, position_sizing_method=None, is_stepping_mode=False)[source]¶
Bases:
objectOrchestrates the event-driven backtesting process. Initializes all main components: EventQueue, DataHandler, Strategies, PortfolioManager, SimulatedExecutionHandler and runs the main event loop.
- run()[source]¶
Runs the main event loop of the backtesting engine
- Return type:
Optional[BacktestResults]