Skip to content
python.financial
Tools tested

Tools measured in this benchmark

Open a tool page for its code examples, strengths, and limits. Exact versions are listed in the technical details.

Warm runtime by bar count

Median wall-clock time for a complete public backtest call plus result extraction. Lower is faster. Runtime uses a logarithmic scale.

What this means

Different engine designs produce very different scaling curves

Backtesting.py is lowest at 1K bars, while VectorBT PRO is lowest at 10K and 100K. Full event, calendar, and broker workflows grow more steeply in this narrow signal-and-fill workload.

Technical details

See exactly how the result was produced

Exact values

Input barsBacktesting.pyBacktraderBlanklyLumibotPyBrokerRQAlphaVectorBTVectorBT PROZipline Reloaded
1K5.48 ms45.04 ms18.02 ms835.19 ms16.76 ms241.48 ms5.58 ms10.67 ms1,358.99 ms
10K21.72 ms465.73 ms169.70 ms8,070.53 ms116.30 ms2,270.12 ms8.39 ms11.30 ms4,283.20 ms
100K187.91 ms4,598.52 ms3,741.20 ms85,843.34 ms1,182.05 ms22,590.99 ms51.82 ms14.90 ms110,872.93 ms

Environment

  • Apple M3, 8 logical cores, 24 GB RAM
  • macOS 26.5.2, arm64
  • CPython 3.11.8
  • Backtesting.py 0.6.6, Backtrader 1.9.78.123
  • Blankly 1.18.25b0, Lumibot 3.6.5, PyBroker 2.0.1
  • RQAlpha 6.4.0, VectorBT 1.1.0, VectorBT PRO 2026.9.5
  • Zipline Reloaded 3.1.1

Procedure

  • 1K, 10K, and 100K synthetic minute bars
  • 2 warmups and 5 measured repetitions
  • One share, next-open fills, zero fees and slippage
  • Imports, data generation, and first-use compilation excluded
  • Fill bar, side, price, count, and final equity checked on every run

Scope

Read this as a narrow API workload. The release compares nine public backtest workflows under matching fill rules. It does not compare feature depth, data ingestion, optimization, live trading, or framework suitability.

Peak RSS was not measured consistently, so this release does not include a memory chart. Runtime describes this exact public-API workload, not overall framework quality.

Reproduce and inspect

The downloadable files preserve the measured values, available result detail, environment record, and checksums.

See the editorial process for the publication standard.

Downloads

Download the data

Download the chart values, detailed results, release details, or file checksums separately.

Choose which optional services may run. You can change these settings at any time.