Home / Backtesting & trading frameworks
vectorbt
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 the community edition. The community license adds Commons Clause restrictions to Apache 2.0.
At a glance
RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Professional quants |
|---|---|
| Used for | Backtesting, Strategy research |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Steep learning curve |
| Practical value | High practical value |
| Cost | Free edition with license restrictions |
| Hardware | No GPU needed |
| Maintenance | Last commit 3 days ago |
Popularity snapshots
Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +364 , latest 9,996. Gaps mean no snapshot was taken that day.
Find your trading edge, using a powerful toolkit for backtesting, algorithmic trading, and research.
Similar tools
Iterative trading strategy research framework with walk-forward testing
Research framework for RL-enhanced Avellaneda-Stoikov market making
AI-oriented quantitative investment platform with full ML pipeline
Python library of quantitative finance building blocks
Open-source reinforcement learning platform for quantitative trading
Event-driven backtesting engine for Python trading algorithms