bt
The facts below are what the maker publishes about bt, checked and dated. Our editors have not written about it yet.
Plans and prices
From bt's own pricing page, checked 14 Nov 2026.
| Plan | Price | What it gives you |
|---|---|---|
| MIT License | Free | use, copy, modify, merge, publish, distribute, sublicense, and/or sell · provided as is without warranty |
The facts
Each one read from bt's own pages, with the date it was checked.
What it does
- Fixed income
- The tree includes a notional-weighted FixedIncomeStrategy and a CouponPayingSecurity for securities that pay cashflows and can have holding costs.checked 14 Nov 2026
- Install
- bt installs with pip from PyPI or with conda from Conda Forge and requires Python 3.9 or later.checked 14 Nov 2026
- License
- bt is released under the MIT license, free of charge, and is provided as is without warranty.checked 14 Nov 2026
- Market data
- The tutorial data helper bt.get, an alias for ffn.get, downloads Adjusted Close prices from Yahoo! Finance by default.checked 14 Nov 2026
- Notable limit
- Algo stacks are not validated by the framework, so the user must ensure each algo’s requirements and side effects are used correctly.checked 14 Nov 2026
- Portfolio trees
- Securities and strategies can be nested in a tree so capital can be allocated across strategies as well as securities.checked 14 Nov 2026
- Results
- Results can be compared on returns, weights, transactions, drawdowns, and other statistics, with charts provided through ffn.checked 14 Nov 2026
- Status
- The project classifiers mark it as Beta.checked 14 Nov 2026
- Strategy logic
- Strategies are composed by combining algorithms for scheduling, security selection, weighting, and rebalancing.checked 14 Nov 2026
- Support
- Bugs and improvements are reported through GitHub issues.checked 14 Nov 2026
- Version
- The package version in the project metadata is 1.4.1.checked 14 Nov 2026
- What it does
- bt is a Python framework for building, testing, and comparing investment strategies from reusable components, using historical prices, positions, transactions, and ffn statistics and charts.checked 14 Nov 2026
- Who it is for
- The documentation presents bt for designing and testing quantitative strategies, and states that backtest results do not predict future performance.checked 14 Nov 2026
Where it runs
- Platforms
- Official builds cover Linux x86_64 and ARM64, macOS ARM64, and Windows x86_64.checked 14 Nov 2026
Money
- Trading costs
- A backtest charges no transaction cost by default, and can use a quantity-and-price commission function or a size-aware CostModel such as square-root impact or Almgren-Chriss.checked 14 Nov 2026
Alternatives to bt
- 1
NinjaTrader
Free planAndroidiOSWebmacOS8.0From $99 a month - 2
Composer
Free planiOSWebAPI7.5From $10 a month - 3
QuantConnect
Free planWebLinuxmacOSSelf-hosted6.9Free plan - 4
Portfolio Visualizer
Free planWeb6.8From $30 a month - 5
Portfolio123
Free planWebAPI6.7From $25 a month - 6
Investor/RT
LinuxmacOSWindows6.4From $10 a month