pmorissette/bt
bt - flexible backtesting for Python observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 96
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 29
- age_days: 4458
- days_rel: 130
- days_push: 26
- n_releases_24m: 6
Adoption not part of the score
2966 stars · 493 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
bt is a flexible Python backtesting framework for testing quantitative trading strategies. It uses composable Algos and AlgoStacks with a tree structure to build modular, reusable strategy logic, and provides charting and detailed performance statistics.
Use cases
- backtest a quantitative trading strategy in python
- test a monthly rebalanced portfolio strategy on historical data
- compare performance statistics across multiple backtests
- build modular reusable trading strategy logic
- visualize backtest results with charts
- simulate long-only equal-weight allocation strategies
When to choose
- you are a quant developing and testing trading strategies in Python
- you want composable, reusable strategy logic blocks instead of monolithic backtest scripts
- you want built-in stats and charting for backtest comparison
- you want to leverage the Python data ecosystem (pandas, ffn) in your strategies
When to avoid
- you need live trading or broker execution - bt is backtesting only
- you need high-frequency or tick-level backtesting performance
- you need a production-stable release - bt is self-described as alpha stage
- you are not working in Python
Facets
framework · maturity active
simulation data-visualization benchmarking fintech data-science python cross-platform backtesting quantitative-finance algorithmic-trading trading-strategies finance algorithms
3 sources
- readme: https://github.com/pmorissette/bt · fetched 2026-08-28 · 32f73feefbcf
- homepage: http://pmorissette.github.io/bt · fetched 2026-08-29 · 24e7b43e063e
- registry_pypi: https://pypi.org/pypi/bt/json · fetched 2026-08-29 · a5e917ce18cc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pmorissette/bt | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem