Launch offer20% off your first trading bot, for our first 1,000 clients. Free 30-minute strategy call included.−20% · LAUNCH20 See packs →
TradeBot Check
Backtesting

bt

Python library to backtest portfolio strategies (allocation, weighting, rebalancing) built from reusable building blocks.

Our take

The right tool for testing allocation and rebalancing ideas, not for intraday trading signals.

Who it is for

Investors testing portfolio rules such as monthly rebalancing, momentum rotation or risk-based weighting.

Strengths

  • Strategies are composed from small algorithms: schedule, selection, weighting, rebalancing.
  • Strategies can be nested into portfolio trees.
  • Commissions and transaction cost models are configurable.
  • Permissive MIT license.

Good to know

  • You bring your own price data; results depend on its quality, as the README itself warns.
  • Designed for portfolio-level backtests rather than order-by-order execution simulation.

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

Get a free quote

Real-life uses

Monthly rebalancing and DCA

Buys your ETFs on schedule and rebalances to target weights, with a report each month.

🔁 Rebalanced: VT 60%, bonds 30%, gold 10%. Orders filled.
from €490 €392Order this bot

Momentum rotation strategy

Ranks a universe each month and rotates into the strongest, fully backtested first.

🏁 Rotation: out of XLE, into XLK and XLV.
from €490 €392Order this bot

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 contact@tradebotcheck.com.

  1. https://github.com/pmorissette/bt: features, example, cost models, MIT license

Alternatives in Backtesting