Home / Backtesting & trading frameworks

vectorbt

Backtesting & trading frameworks★ 9,332 GitHub starsPython⏱ Last commit 2 days ago

Vectorized Python backtesting and strategy research toolkit

What it is

A Python library for backtesting, algorithmic trading, and research that packs thousands of strategy configurations into NumPy arrays, accelerated with Numba and an optional Rust engine, so grid searches run all at once rather than bar by bar. It covers portfolio backtesting with trade and drawdown analytics, a rich indicator ecosystem, walk-forward optimization, and interactive Plotly visualization. The design suits human researchers working at scale as well as AI agents driving experimentation in code. Some advanced capabilities—parallelization, limit orders, leverage, and portfolio optimization—live in the separate paid VectorBT PRO edition rather than this open-source version.

At a glance

RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forBacktesting, Strategy research
MarketsMulti-market
StackPython
Learning curveSteep learning curve
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceLast commit 2 days ago

GitHub stars, last 30 days

Daily snapshots since 2026-09-12 (up to 30 days): +270 over the period, now 9,332. Gaps mean no snapshot was taken that day.

In the author's words

Find your trading edge, using a powerful toolkit for backtesting, algorithmic trading, and research.

Open on GitHub ↗This week's trending tools中文页面

Similar tools