Launch offer20% off your first custom bot, for our first 1,000 clients. Free 30-minute consultation included.−20% · LAUNCH20 See packs →
Heybotify
Backtesting

Backtesting.py

Lightweight Python library to backtest a strategy on one asset with very little code.

kernc/backtesting.py★ 9,125 stars last commit 2026-08-05
Our take

The quickest way to test your first strategy idea in Python, with beautiful interactive charts.

Who it is for

Beginners who want to test a simple idea in minutes.

Strengths

  • Simple, popular API (over 9,000 GitHub stars).
  • Maintained: last change in August 2026.

Good to know

  • AGPL-3.0 license: if you use it inside a web service offered to others, you must publish your code.

Want a bot built on Backtesting.py, or something similar?
We set it up, connect it to your accounts and keep it running.

Get a free quote

Sources

Every fact on this page comes from these sources, checked on 2026-10-24. If something has changed, the source wins; tell us at hello@heybotify.com.

  1. https://github.com/kernc/backtesting.py: AGPL-3.0 license, popularity and date of the last change

Alternatives in Backtesting