Back to Skills

backtesting-trading-strategies

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

2,123stars286forksUpdated 5/8/2026

Security Assessment

Safe(100/100)
Security Score100/100

About backtesting-trading-strategies

backtesting-trading-strategies is a reusable AI skill focused on a specific workflow. name: backtesting-trading-strategies

The skill packages instructions, conventions, and task-specific guidance so an agent can execute the job more consistently. description: 'Backtest crypto and traditional trading strategies against historical Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity and optimizes strategy parameters. Use when user wants to test a trading strategy,

In practice, this skill is best suited for users who need repeatable execution with fewer setup steps and less ambiguity. validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical "simulate trades", "optimize parameters", or "validate signals". allowed-tools: Read, Write, Edit, Grep, Glob, Bash(python:*)

FAQ

What does backtesting-trading-strategies help with?

backtesting-trading-strategies helps agents follow a focused workflow described in the source documentation, reducing ambiguity and keeping execution aligned with the intended task.

When should this skill be used?

Use it when the task matches the workflow, domain, or operating rules described in the skill documentation, especially when consistent execution matters.

What are the main limitations?

The skill is constrained by the quality and scope of its source instructions. If the underlying documentation is incomplete, the agent may still need extra context or manual validation.

All Files

15 files
commands/backtest-strategy.md3.2 KB
View
commands/compare-strategies.md2.6 KB
View
commands/optimize-parameters.md2.4 KB
View
commands/walk-forward.md4.0 KB
View
config/settings.yaml1.4 KB
View
references/errors.md3.9 KB
View
references/examples.md4.5 KB
View
references/implementation.md4.3 KB
View
scripts/backtest.py14.3 KB
View
scripts/fetch_data.py4.7 KB
View
scripts/metrics.py11.4 KB
View
scripts/optimize.py6.2 KB
View
scripts/strategies.py11.3 KB
View
SKILL.md6.3 KB
View
tests/test_strategies.py13.6 KB
View

Install backtesting-trading-strategies

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill