Skip to main content

Reference

Backtest

Replay bars through a Python strategy.

backtest Replays data through strategy and returns the result.
Replay One backtest that you feed yourself, in as many steps as you like, then finish once.
BacktestResult What one replay produced.

Strategy interface

What a strategy handler receives.

Bar One bar, as a strategy handler receives it.
Context The running replay, as a strategy handler sees it.