Vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics
Install
/plugin marketplace add agiprolabs/claude-trading-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add agiprolabs/claude-trading-skills --skill vectorbtgit clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git /tmp/claude-trading-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-trading-skills/skills/vectorbt ~/.claude/skills/vectorbtPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Vectorized Backtesting with vectorbt ## Overview vectorbt is a Python library for **vectorized backtesting** — running strategy simulations using NumPy/pandas array operations instead of bar-by-bar loops. This makes it 100–1000x faster than event-driven frameworks (backtrader, zipline), enabling parameter optimization across thousands of combinations in seconds. **Key strengths:** - Blazing speed via NumPy vectorization - Built-in parameter grid search and optimization - 50+ built-in performance metrics (Sharpe, Sortino, Calmar, max drawdown, profit factor) - Rich plotting (equity curves, drawdowns, trade markers, heatmaps) - Native pandas integration — your data stays in DataFrames throughout ## Installation ```bash uv pip install vectorbt pandas numpy ``` vectorbt pulls in pandas, NumPy, and Plotly automatically. For technical indicators, also install pandas-ta: ```bash uv pip install vectorbt pandas-ta ``` ## Core Concepts ### 1. Signals — Boolean Entry/Exit Arrays Strategies in vectorbt are expressed as boolean pandas Series (or arrays) indicating where to enter and exit positions: ```python import vectorbt as vbt import pandas as pd # Entry: buy when fast EMA crosses above slow EMA entries = fast_ema > slow_ema # Exit: sell when fast EMA crosses below slow EMA exits = fast_ema < slow_ema ``` vectorbt resolves conflicting signals automatically (you can't enter while already in a position). ### 2. Portfolio — The Backtesting Engine
Details
- Skill name
vectorbt- Repository
- agiprolabs/claude-trading-skills
- Path
skills/vectorbt/SKILL.md- License
- MIT
- Repo updated
- 3 September 2026
FAQ
What does the Vectorbt skill do?
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics
How do I install the Vectorbt skill?
Claude Code plugin: /plugin marketplace add agiprolabs/claude-trading-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Vectorbt popular?
It lives in agiprolabs/claude-trading-skills, which has 564 GitHub stars and 113 forks.
Related skills
Backtrader
564agiprolabs/claude-trading-skills
Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers, and custom indicators
Birdeye API
564agiprolabs/claude-trading-skills
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
Coingecko API
564agiprolabs/claude-trading-skills
Broad crypto market data from CoinGecko covering 13,000+ tokens. Global market stats, historical price data going back years, exchange volumes, trending tokens, and category filters. Best for macro analysis and long-term historical data.
Wallet Profiling
564agiprolabs/claude-trading-skills
Behavioral classification, performance analysis, and trading style detection for Solana wallets
Trade Accounting
564agiprolabs/claude-trading-skills
Double-entry bookkeeping for trading operations with ledger management, P&L statements, balance sheets, and cash flow reporting
Yield Analysis
564agiprolabs/claude-trading-skills
DeFi yield evaluation including fee APR, real vs nominal yield, net APY after costs, and yield sustainability analysis
Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.