
Strategy Compare
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-codeInstalls 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