PyInvesting

Backtesting software for stock market investors

Test your trading strategy. Follow its buy and sell signals.

Compare your trading strategy with a benchmark. Follow changes to its model holdings with Premium.

Run a free backtest

Three free backtests. No credit card required.

U.S. Quality & Value

A 30-stock U.S. portfolio ranked on valuation, profitability, cash-flow growth, and shareholder yield.

Backtested from to in USD, against SPY.

View portfolio
Return per year
15.5%
SPY 11.4%
Total return
1,681.9%
SPY 761.6%
Deepest decline
-51.5%
SPY -55.2%
Loading performance chart…
Cumulative change from the start of the selected period. Historical simulation of the standalone 30-stock strategy with modeled costs. The archived fundamentals do not include every original as-filed version. Past returns do not predict future results.

Backtest your rules
before you trade

Compare simulated returns and drawdowns with a benchmark. Save your results as you refine your rules.

Run a free backtest Three free backtests. No credit card required.

Monitor with Premium

Follow a saved strategy as new daily market data arrives.

  • Model holdingsSee each position and its portfolio weight.
  • Buy and sell signalsSee which trades your rules would trigger.
Compare plans