VectorBT backtesting expert. An agent skill from marketcalls/vectorbt-backtesting-skills.

No licenceAuto-check: notesBusiness, Finance & HR

Install Vectorbt Expert

skills CLI
$ npx skills add marketcalls/vectorbt-backtesting-skills --skill vectorbt-expert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install marketcalls/vectorbt-backtesting-skills vectorbt-expert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/marketcalls/vectorbt-backtesting-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/vectorbt-expert .claude/skills/vectorbt-expert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
vectorbt-expert
GitHub stars
208
Token cost
~3.4k tokens
SKILL.md length
697 words
Files
37
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

VectorBT backtesting expert. An agent skill from marketcalls/vectorbt-backtesting-skills.

  • Works in 11 steps: Default to OpenAlgo ta (from openalgo… → Always use OpenAlgo ta for indicators… → Use OpenAlgo ta for signal utilities:… → …
  • User asks to backtest strategies
  • SKILL.md covers Environment, Critical Rules, Modular Rule Files and Strategy Templates (in…, plus 2 more sections
  • Runs Python scripts from its folder; needs OPENALGO_API_KEY

What it does

Vectorbt Expert is an agent skill from marketcalls/vectorbt-backtesting-skills. VectorBT backtesting expert. Use when user asks to backtest strategies, create entry/exit signals, analyze portfolio performance, optimize parameters, fetch historical data, use VectorBT/vectorbt, compare strategies, position sizing, equity curves, drawdown charts, or trade analysis. Also triggers for openalgo.ta helpers (exrem, crossover, crossunder, flip, donchian, supertrend).

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 47 other files (for example `rules/assets/buy_hold/backtest.py`, `rules/assets/donchian/backtest.py` and `rules/assets/dual_momentum/backtest.py`).

It sits in Business, Finance & HR, covering Trading and backtesting. It works with Python, DuckDB and Plotly. The repository describes itself as: Agentic coding skills for backtesting trading strategies using VectorBT. Supports Indian, US, and Crypto markets with realistic transaction cost modeling, TA-Lib indicators…

When your agent uses it

  • User asks to backtest strategies
  • Create entry/exit signals
  • Analyze portfolio performance
  • Optimize parameters

Example prompts

  • “/vectorbt-expert”

Requirements

  • Python 3
  • A credential in OPENALGO_API_KEY

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Default to OpenAlgo ta (from openalgo import ta) for ALL technical indicators (EMA, SMA, RSI, MACD, BBANDS, ATR, ADX, STDDEV, MOM, and 90+…
  2. Always use OpenAlgo ta for indicators not in TA-Lib at all: Supertrend, Donchian, Ichimoku, HMA, KAMA, ALMA, ZLEMA, VWMA - these have no…
  3. Use OpenAlgo ta for signal utilities: ta.exrem(), ta.crossover(), ta.crossunder(), ta.flip(). If openalgo.ta is not importable (standalone…
  4. Always clean signals with ta.exrem() after generating raw buy/sell signals. Always .fillna(False) before exrem.
  5. Market-specific fees: India (indian-market-costs), US (us-market-costs), Crypto (crypto-market-costs). Auto-select based on user's market.
  6. Default benchmarks: India=NIFTY via OpenAlgo, US=S&P 500 (^GSPC), Crypto=Bitcoin (BTC-USD). See data-fetching Market Selection Guide.
  7. Always produce a Strategy vs Benchmark comparison table after every backtest.
  8. Always explain the backtest report in plain language so even normal traders understand risk and strength.
  9. Plotly candlestick charts must use xaxis type="category" to avoid weekend gaps.
  10. Whole shares: Always set min_size=1, size_granularity=1 for equities.
  11. DuckDB data loading: When user provides a DuckDB path, load data directly using duckdb.connect() with read_only=True. Auto-detect format…

What it can do on your machine

Read from SKILL.md and the folder at commit 05d9e8b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENALGO_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Vectorbt Expert loads about 3.4k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 697 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:14
    - API keys loaded from single root `.env` via `python-dotenv` + `find_dotenv()` — never hardcode keys
  • NoteMentions a .env fileSKILL.md:21
    nvironment variables loaded from single `.env` at project root via `find_dotenv()` (walks up from script dir)
  • NoteMentions a .env fileSKILL.md:45
    e (US), CCXT (Crypto), custom providers, .env setup |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 697 words (~3,375 tokens).

“Detailed reference for each topic is in rules/:”

— opening of SKILL.md by marketcalls
name
vectorbt-expert
user-invocable
false

Read the full SKILL.md on GitHub

Files

SKILL.md and 36 other files in .claude/skills/vectorbt-expert of marketcalls/vectorbt-backtesting-skills.

  • SKILL.md
  • rules/assets/buy_hold/backtest.py
  • rules/assets/donchian/backtest.py
  • rules/assets/dual_momentum/backtest.py
  • rules/assets/ema_crossover/backtest.py
  • rules/assets/macd/backtest.py
  • rules/assets/momentum/backtest.py
  • rules/assets/realistic_costs/template.py
  • rules/assets/rsi/backtest.py
  • rules/assets/rsi_accumulation/backtest.py
  • … and 27 more

Open the folder on GitHubat commit 05d9e8b

Compare with similar skills

Vectorbt Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Vectorbt Expert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vectorbt Expert this skillmarketcalls/vectorbt-backtesting-skills208—~3.4kAutomated safety check: NotesNone
Tushare Datazillionare/zillionare3212 repos~2.3kAutomated safety check: PassNone
Kalshi Traderyanfrigo/kalshi-ai-trading-bot614—~3.4kAutomated safety check: PassMIT
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT
Mmr Loop Skill9600dev/mmr131—~2.6kAutomated safety check: PassCustom licence
Quant Backtestjoemccann/market-data-warehouse183—~2.1kAutomated safety check: PassNone

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Kalshi Trade

    ryanfrigo/kalshi-ai-trading-bot

    The disciplined process for autonomously and profitably trading the live Kalshi account on each /loop tick, with Claude as the decision-maker.

    614 GitHub stars~3.4k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Mmr Loop Skill

    9600dev/mmr

    Autonomous trading loop for the MMR platform. An agent skill from 9600dev/mmr.

    131 GitHub stars~2.6k tokensUpdated 25 days ago
    Business, Finance & HRAuto-check passed
  • Quant Backtest

    joemccann/market-data-warehouse

    Institutional-grade Python backtesting framework builder for Codex.

    183 GitHub stars~2.1k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Openscript

    marketcalls/openalgo

    Write an OpenScript study or strategy for OpenAlgo, and install it into strategies/openscript/ only after it compiles.

    2.8k GitHub stars~2.3k tokensUpdated today
    Business, Finance & HRAuto-check: notes

More from marketcalls/vectorbt-backtesting-skills

  • Backtest

    marketcalls/vectorbt-backtesting-skills

    Quick backtest a strategy on a symbol. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check: notes
  • Optimize

    marketcalls/vectorbt-backtesting-skills

    Optimize strategy parameters using VectorBT. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~758 tokensUpdated 2 mo ago
    Auto-check: notes
  • Quick Stats

    marketcalls/vectorbt-backtesting-skills

    Quickly fetch data and print key backtest stats for a symbol with a default EMA crossover strategy.

    208 GitHub stars~464 tokensUpdated 2 mo ago
    Auto-check: notes
  • Setup

    marketcalls/vectorbt-backtesting-skills

    Set up the Python backtesting environment. An agent skill from marketcalls/vectorbt-backtesting-skills.

    208 GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Strategy Compare

    marketcalls/vectorbt-backtesting-skills

    Compare multiple strategies or directions (long vs short vs both) on the same symbol.

    208 GitHub stars~595 tokensUpdated 2 mo ago
    Auto-check: notes

Questions about Vectorbt Expert

What does Vectorbt Expert do?

VectorBT backtesting expert. An agent skill from marketcalls/vectorbt-backtesting-skills. Vectorbt Expert is an agent skill from marketcalls/vectorbt-backtesting-skills. VectorBT backtesting expert.

When should I use Vectorbt Expert?

Vectorbt Expert fits situations like: user asks to backtest strategies; create entry/exit signals; analyze portfolio performance; optimize parameters.

How do I install Vectorbt Expert in Claude Code?

Run `npx skills add marketcalls/vectorbt-backtesting-skills --skill vectorbt-expert -a claude-code`. Or copy the skill folder (.claude/skills/vectorbt-expert in marketcalls/vectorbt-backtesting-skills) into .claude/skills/vectorbt-expert in your project. Claude Code loads it when a task matches its description.

How do I install Vectorbt Expert in Codex?

Run `npx skills add marketcalls/vectorbt-backtesting-skills --skill vectorbt-expert -a codex`. Or copy the skill folder (.claude/skills/vectorbt-expert in marketcalls/vectorbt-backtesting-skills) into .agents/skills/vectorbt-expert in your project. Codex loads it when a task matches its description.

Can I use Vectorbt Expert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add marketcalls/vectorbt-backtesting-skills --skill vectorbt-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vectorbt-expert, .gemini/skills/vectorbt-expert, .github/skills/vectorbt-expert and .opencode/skills/vectorbt-expert in your project.

What does Vectorbt Expert need to run?

Going by SKILL.md and its folder, Vectorbt Expert needs Python for the scripts in its folder and credentials named OPENALGO_API_KEY. Our summary lists: Python 3; A credential in OPENALGO_API_KEY.

Does Vectorbt Expert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Vectorbt Expert safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Vectorbt Expert use?

No licence was found for Vectorbt Expert or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Vectorbt Expert use?

About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Vectorbt Expert?

Skills that share tags, products or a category with Vectorbt Expert: Tushare Data (zillionare/zillionare, 321 stars), Kalshi Trade (ryanfrigo/kalshi-ai-trading-bot, 614 stars), Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars) and Mmr Loop Skill (9600dev/mmr, 131 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vectorbt Expert?

marketcalls (a GitHub user) maintains it in marketcalls/vectorbt-backtesting-skills, which has 208 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on July 12, 2026.

Source: marketcalls/vectorbt-backtesting-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.