$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Finance / Backtesting Frameworks Skill by @wshobson

Backtesting Frameworks Skill by @wshobson

FREE
github stars★ 42,243updatedMay 2026repo@wshobson
$git clone https://github.com/wshobson/agents

The skill is the plugins/quantitative-trading/skills/backtesting-frameworks folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
# Backtesting Frameworks

Build robust, production-grade backtesting systems that avoid common pitfalls and produce reliable strategy performance estimates.

## When to Use This Skill

- Developing trading strategy backtests
- Building backtesting infrastructure
- Validating strategy performance
- Avoiding common backtesting biases
- Implementing walk-forward analysis
- Comparing strategy alternatives

## Core Concepts

### 1. Backtesting Biases

| Bias             | Description               | Mitigation              |
| ---------------- | ------------------------- | ----------------------- |
| **Look-ahead**   | Using future information  | Point-in-time data      |
| **Survivorship** | Only testing on survivors | Use delisted securities |
| **Overfitting**  | Curve-fitting to history  | Out-of-sample testing   |
| **Selection**    | Cherry-picking strategies | Pre-registration        |
| **Transaction**  | Ignoring trading costs    | Realistic cost models   |
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.