This does what you need when you're not sure which strategy actually works better on a given stock. Point it at a symbol and it runs multiple strategies (EMA crossover, RSI, Donchian, Supertrend) on the same data, then spits out a comparison table with returns, Sharpe, drawdown, and win rates. It also benchmarks against NIFTY so you know if you're even beating the index. Uses TA-Lib for indicators, handles Indian delivery fees correctly, and cleans signals with exrem. The long vs short mode is handy for testing directional bias. Saves you from running separate backtests and eyeballing results across terminal windows. Creates overlaid equity curves in Plotly so you can see divergence visually.

skills.sh installs
2.3K
GitHub stars
223
last updated
Aug 21, 2026

Install

$ npx -y skills add marketcalls/vectorbt-backtesting-skills --skill strategy-compare --agent claude-code

Installs into .claude/skills of the current project.

Files

Create a strategy comparison script.

Arguments

Parse $ARGUMENTS as: symbol followed by strategy names

  • $0 = symbol (e.g., SBIN, RELIANCE, NIFTY)
  • Remaining args = strategies to compare (e.g., ema-crossover rsi donchian)

If only a symbol is given with no strategies, compare: ema-crossover, rsi, donchian, supertrend. If "long-vs-short" is one of the strategies, compare longonly vs shortonly vs both for the first real strategy.

Instructions

Sponsors

Details

Repository
github.com/marketcalls/vectorbt-backtesting-skills
First seen
Apr 16, 2026

More from marketcalls/vectorbt-backtesting-skills

All 6

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs