PyInvesting

Backtest methods

Choose a backtest

Use a guided method for an established investment rule, or describe a custom strategy for a structured review.

Guided methods

Start from an established approach

Each method opens its existing builder directly. Nothing about its inputs or historical calculation has changed.

Company measures

Fundamentals

Rank companies using financial and valuation measures at each rebalance.

Choose fundamentals

Price levels and risk

Breakout trading

Test entries after prices cross defined levels, with explicit exit and risk rules.

Choose breakout trading