polakowo/vectorbt

The backtesting engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 9 minutes ago
Added to GitGenius on September 7th, 2026
Created on November 14th, 2017
Open Issues & Pull Requests: 140 (+0)
GitHub issues: Enabled
Number of forks: 1,158
Total Stargazers: 9,022 (+1)
Total Subscribers: 140 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 28.4 hours
Mean response time: 67.9 days
90th percentile: 170.3 days
Tracked items: 59

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 13% of issues opened in the past year have been closed. Three people close 61% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 39
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 570 days
Stale 30+ days: 39
Stale 90+ days: 37

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • duplicate (1)
  • enhancement (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Vectorbt is a backtesting engine that evaluates thousands of trading strategies simultaneously by vectorizing computations across NumPy arrays rather than looping through individual strategies sequentially.

The tool solves the problem of slow strategy evaluation by taking a matrix-oriented approach to backtesting. Instead of testing one strategy at a time across historical bars, it packs multiple strategy configurations into NumPy arrays and accelerates computation using Numba and Rust, enabling grid searches that would take hours to complete in seconds. This allows traders and researchers to explore thousands of trading ideas across different assets and timeframes in a single run.

Vectorbt suits quantitative traders, algorithmic researchers, and data scientists who need to rapidly prototype and evaluate multiple strategy variations. It works well for portfolio optimization, parameter sweeps, and large-scale experimentation where traditional sequential backtesting becomes a bottleneck. The tool is designed for both human researchers conducting manual analysis and AI agents performing automated strategy discovery. It provides detailed analysis down to individual trades and includes interactive visualization capabilities for exploring results.

The project maintains automated test coverage and publishes releases through continuous integration workflows. A Rust engine is available as a separate package to further accelerate performance-critical operations. The tool is distributed through standard Python packaging channels and also offered as a Docker image for containerized deployment.