strategy-compare

Compare multiple trading strategies on the same symbol using vectorbt-expert rules.

186|44|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill strategy-compare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategy-compare
Source: https://github.com/marketcalls/vectorbt-backtesting-skills/tree/main/.claude/skills/strategy-compare
Command: npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill strategy-compare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compare multiple strategies on the same symbol to readily identify the best performing approach and understand relative strengths.

Core Features & Use Cases

  • Side-by-side backtests for multiple strategies on the same symbol.
  • Supports long-vs-short comparisons and common indicators (ema-crossover, rsi, donchian) using vectorbt-expert rules.
  • Benchmarks against NSE_INDEX and outputs a CSV plus overlaid Plotly charts for visualization.

Quick Start

Run /strategy-compare RELIANCE ema-crossover rsi donchian to generate a side-by-side strategy comparison.

Frequently Asked Questions about strategy-compare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I backtest and compare multiple trading strategies on the same symbol?

Side-by-side strategy comparison runs multiple backtests on a single symbol instantly using vectorbt-expert rules. It evaluates approaches like ema-crossover, RSI, and donchian to identify the best performing approach.

Can I benchmark my backtesting results against a market index?

Yes, you can benchmark backtesting results against a NSE_INDEX. The comparison outputs a CSV file and overlaid Plotly charts that visualize your strategy performance relative to the market benchmark.

Do I need TA-Lib and Python to run vectorbt strategy comparisons?

Yes, Python with TA-Lib is required to run vectorbt strategy comparisons. The process uses exrem for signal cleaning and optionally supports DuckDB for data access to generate the final performance outputs.

What is the best way to compare long and short trading strategies using vectorbt?

The best way to compare long-vs-short strategies is by using vectorbt-expert rules to generate signals for both directions. This allows you to evaluate relative strengths and understand which approach performs better on the same symbol.

How does signal cleaning work when comparing ema-crossover and RSI strategies?

Signal cleaning uses the exrem function to remove redundant or consecutive entry signals when comparing strategies like ema-crossover and RSI. This ensures that backtest results reflect distinct trade entries without signal duplication.