marketcalls/strategy-compare
Compare multiple strategies or directions (long vs short vs both) on the same symbol. Generates side-by-side stats table.
npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill strategy-compare
Create a strategy comparison script.
Parse $ARGUMENTS as: symbol followed by strategy names
$0 = symbol (e.g., SBIN, RELIANCE, NIFTY)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.
backtesting/strategy_comparison/ directory if it doesn't exist (on-demand).py file in backtesting/strategy_comparison/ named {symbol}_strategy_comparison.pyduckdb.connect(path, read_only=True). See vectorbt-expert rules/duckdb-data.md.openalgo.ta is not importable (standalone DuckDB), use inline exrem() fallback.ta.exrem() (always .fillna(False) before exrem)fees=0.00111, fixed_fees=20 for delivery equityNSE_INDEX)template="plotly_dark")/strategy-compare RELIANCE ema-crossover rsi donchian
/strategy-compare SBIN long-vs-short ema-crossover
Take marketcalls/strategy-compare from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.