Skip to content

Resources

Learning material, examples, articles, videos, and help channels for VectorBT. Official resources are listed first in each section, followed by community resources and related VectorBT PRO material where useful.

Start here

Notebooks

Run the notebooks locally to interact with widgets and dynamic charts.

Dashboards

Tutorials

VectorBT PRO SuperFast SuperTrend

Design a streaming SuperTrend indicator and run large parameter sweeps.

OfficialPROPerformance
VectorBT PRO Signal development

Convert strategies into signals and inspect their distribution for logical flaws.

OfficialPROSignals
VectorBT PRO Stop signals

Analyze stop orders, stop prices, and stop combinations across market regimes.

OfficialPRORisk controls
VectorBT PRO MTF analysis

Work with multiple timeframes in a single research pipeline.

OfficialPROMTF
VectorBT PRO Portfolio optimization

Optimize portfolio weights and analyze allocation choices.

OfficialPROOptimization
VectorBT PRO Pairs trading

Research pairs-trading workflows with VectorBT PRO.

OfficialPROStat arb
VectorBT PRO Patterns and projections

Detect historical patterns and project similar future segments.

OfficialPROPatterns
VectorBT PRO Cross-validation

Validate strategy parameters across splits to reduce overfitting.

OfficialPROValidation
Qubit Quants Align MTF data

Resample and align multiple timeframe data for VectorBT PRO strategies.

PROMTF
Qubit Quants Strategy development

Develop signals and convert them into VectorBT PRO portfolio simulations.

PROSignals
Qubit Quants Plot indicators and signals

Visualize indicators, cleaned signals, and strategy behavior in VectorBT PRO.

PROVisualization
Qubit Quants Multi-asset simulation

Simulate and inspect multi-asset portfolio behavior with VectorBT PRO.

PROPortfolio
Qubit Quants Custom dashboard

Build a custom dashboard for portfolio simulation and strategy visualization.

PRODashboard
Qubit Quants Discretionary signals

Backtest manually derived trading signals with VectorBT PRO.

PROSignals
Qubit Quants Custom simulator basics

Introduce the main functions behind a custom VectorBT PRO simulator.

PROSimulation
Qubit Quants Custom candlestick simulator

Implement a basic candlestick strategy in a custom VectorBT PRO simulator.

PROSimulation
Qubit Quants Custom stops simulator

Add stop-loss and take-profit logic to a custom candlestick simulator.

PRORisk controls
Qubit Quants Partial profits simulator

Extend custom simulation with partial-profit exits and risk management.

PROSimulation

Articles

Polakowo on Medium Stop Loss, Trailing Stop, or Take Profit?

Two million backtests shed light on stop-loss, trailing-stop, and take-profit behavior.

OfficialRisk controls
Polakowo on Medium SuperFast SuperTrend

Design a high-performance SuperTrend implementation and scalable backtesting pipeline.

OfficialPerformance
AlgoTrading101 VectorBT introductory guide

AlgoTrading101 introduces VectorBT concepts, examples, and common workflows.

Beginner guide
Tobi Lux on Medium Backtesting cookbook, part 1

Start of a multi-part VectorBT cookbook focused on practical backtesting workflows.

Cookbook
Tobi Lux on Medium Backtesting cookbook, part 2

Continue the VectorBT cookbook with additional strategy construction examples.

Cookbook
Tobi Lux on Medium Backtesting cookbook, part 3

Expand the cookbook workflow with more VectorBT backtesting patterns.

Cookbook
Tobi Lux on Medium Backtesting cookbook, part 4

Work through further practical VectorBT backtesting examples.

Cookbook
Tobi Lux on Medium Backtesting cookbook, part 5

Complete the VectorBT cookbook series with additional applied examples.

Cookbook
PyQuant News 1,000,000 backtest simulations in 20 seconds

A PyQuant News walkthrough of large-scale VectorBT simulation.

Performance
Trading Dude on Medium Backtesting beginner's guide

A beginner-oriented walkthrough of setting up and running VectorBT backtests.

Beginner guide
Plain English First algorithmic trading model

Build a first trading model in Python using VectorBT.

Beginner guide
Greyhound Analytics Optimize entry and exit points

Use VectorBT to grid-search entry and exit parameters and visualize the results.

Optimization
Greyhound Analytics Create a custom indicator

Learn the IndicatorFactory workflow for custom VectorBT indicators.

Indicators
Greyhound Analytics Use multiple indicators

Combine RSI, moving averages, and custom logic into a VectorBT strategy.

Signals
Greyhound Analytics Plot custom graphs

Build custom Plotly views and portfolio dashboards from VectorBT objects.

Visualization
Greyhound Analytics Backtest candlestick patterns

Detect candlestick patterns with TA-Lib and backtest the signals in VectorBT.

Patterns
Greyhound Analytics VectorBT vs Backtrader

A comparison of VectorBT and Backtrader for Python backtesting workflows.

Comparison
Coding Nexus Ultra-fast backtesting explained

An overview of VectorBT's vectorized approach to fast strategy backtesting.

Overview
PTA on Medium Find your trading edge

Explore VectorBT as a fast Python engine for strategy discovery and testing.

Overview
AIMonks High-speed backtesting engine

A high-level explanation of VectorBT's role in fast quantitative research.

Overview
PyQuantLab Minimal grid search

Run a compact VectorBT grid search using MultiIndex signal arrays.

Optimization
PyQuantLab ETH trend-following strategy

Build and test a simple ETH trend-following strategy with VectorBT.

Strategy
PyQuantLab Dynamic momentum squeeze

Implement a momentum-squeeze strategy and backtest it with VectorBT.

Strategy
PyQuantLab EMA-ATR breakout sweep

Parameter-sweep an EMA and ATR breakout strategy with an ADX filter.

Optimization
PyQuantLab AO Twin Peaks strategy

Combine AO Twin Peaks, market structure breaks, and ATR trailing stops.

Strategy
Financialnoob on Substack Trading signal analysis with Marimo

Analyze trading signals with Marimo and VectorBT PRO.

PROSignals
PyQuant News Find chart patterns

Use VectorBT PRO to algorithmically find chart patterns at scale.

PROPatterns
PyQuant News Intraday backtesting

Backtest intraday trading strategies with VectorBT PRO.

PROIntraday
PyQuant News Cross-validate parameters

Use cross-validation to improve strategy parameter selection.

PROValidation
PyQuant News Pairs trading with 500 stocks

Use VectorBT PRO to build and test a large-universe pairs-trading workflow.

PROStat arb
PyQuant News Forecast future price trends

Project future price segments from historical pattern matches.

PROProjections

Videos

Vectorbt for beginners video thumbnail Chad Thackray on YouTube Vectorbt for beginners

A full Python course introducing VectorBT workflows for backtesting and research.

Beginner course
One million backtests with VectorBT video thumbnail PyQuant News on YouTube 1,000,000 backtests

A video walkthrough of running large-scale VectorBT simulations quickly.

Performance
VectorBT vs Backtrader video thumbnail Part Time Larry on YouTube VectorBT vs Backtrader

Compare VectorBT's vectorized analysis style with Backtrader workflows.

Comparison
Five VectorBT use cases video thumbnail PythonIA on YouTube 5 VectorBT use cases

Survey practical algorithmic trading use cases with VectorBT and Python.

Use cases
VectorBT quantitative analysis video thumbnail The Data Science Channel on YouTube Quantitative analysis

An introduction to using VectorBT for quantitative analysis in Python.

Overview
VectorBT OpenAlgo backtesting skills video thumbnail OpenAlgo on YouTube OpenAlgo backtesting skills

Use VectorBT in an OpenAlgo-focused backtesting workflow.

Backtesting
AI backtesting with VectorBT video thumbnail OpenAlgo on YouTube Self-improving AI backtesting

OpenAlgo, DuckDB, Claude Code, and VectorBT in an automated research loop.

AI workflow
Walk-forward optimization with VectorBT video thumbnail Trade Science on YouTube Walk-forward optimization

Trade Science shows how to run walk-forward optimization in Python with VectorBT PRO.

PROValidation
Cross validation in VectorBT PRO video thumbnail Qubit Quants on YouTube Cross validation

Validate parameter choices across time and reduce overfitting risk.

PROValidation
Multiple timeframe analysis in VectorBT PRO video thumbnail Qubit Quants on YouTube Multiple timeframe analysis

Combine indicators across timeframes for a VectorBT PRO EMA crossover strategy.

PROMTF
Take profit ladders in VectorBT PRO video thumbnail Qubit Quants on YouTube Take profit ladders

Build and test laddered take-profit behavior in VectorBT PRO.

PRORisk controls
VectorBT PRO install guide video thumbnail Chad Thackray on YouTube Install guide and subscriber perks

Chad Thackray covers installation, member resources, and how to approach learning VectorBT PRO.

PROSetup
VectorBT PRO multi strategy portfolios video thumbnail Chad Thackray on YouTube Multi strategy portfolios

Build and analyze multi-strategy portfolios with VectorBT PRO.

PROPortfolio
Custom Plotly dashboard with VectorBT PRO video thumbnail Qubit Quants on YouTube Custom Plotly dashboard

Build a custom Plotly dashboard around VectorBT PRO analysis.

PRODashboard
Discretionary signals with VectorBT PRO video thumbnail Qubit Quants on YouTube Discretionary signals

Qubit Quants demonstrates backtesting manually derived signals with VectorBT PRO.

PROSignals

Books

Code repositories

Research

Getting help

Contributing

If you have created a tutorial using VBT and would like to share it here, please create a PR.

Thanks to everyone who has contributed so far!