Software

backtesting.py

backtesting.py is a Python library for testing a trading strategy against historical prices. It is research software. A historical test is not evidence of future results.

Official website

Recorded facts

Category
Backtesting
Platforms
Standalone
Brokers
Not recorded
Systems
Not recorded
Pricing model
Free
Licence
Open source AGPL-3.0-or-later Repository
Languages
Python

Glossary

Notes

PyPI records the licence as GNU Affero General Public License version 3 or later, which is an OSI-approved licence. PyPI also classifies the package as OS-independent. No broker or platform connector is part of this entry.

Sources and last check

Last checked 10 November 2026.