Automated summary
Guides the construction of robust trading-strategy backtests that address look-ahead bias, survivorship bias, transaction costs, and walk-forward validation.
Strengths
- Explicitly addresses look-ahead bias, survivorship bias, and transaction costs.
- Covers point-in-time data pipelines and event-driven simulation.
- Recommends train/validation/test splits and walk-forward analysis.
- Points to an implementation playbook for detailed patterns and examples.
Limitations
- Does not provide historical market data or a ready-to-run backtesting engine.
- Cannot replace domain-specific quantitative validation or guarantee future performance.
- Focuses on methodology; implementation depth depends on the linked playbook.
Use when you are building or reviewing a backtesting system for a trading strategy and need to avoid common validation biases.
Do not use for live trade execution, investment advice, or when historical data quality is unknown.
Security analysis
SafeThe skill is purely instructional guidance on building backtesting systems for trading strategies. It declares no allowed-tools, contains no executable commands, no network or file-system operations, and no obfuscated or destructive payloads. Its only notable instruction is to open a referenced markdown resource for examples, which is benign and does not direct any actions toward secrets, credentials, or system modification.
No concerns found
How this analysis is madeExamples
Help me build a Python backtesting framework for a daily equity momentum strategy. Include point-in-time data handling, transaction costs, and walk-forward validation to avoid look-ahead and survivorship bias.Review my backtesting code for look-ahead bias, survivorship bias, and unrealistic transaction cost assumptions, then suggest concrete fixes.Design a walk-forward analysis plan for a mean-reversion strategy on futures, with train/validation/test splits and clear evaluation criteria.version: 4.1.0-fractal name: backtesting-frameworks description: Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.
Backtesting Frameworks
Build robust, production-grade backtesting systems that avoid common pitfalls and produce reliable strategy performance estimates.
Use this skill when
- Developing trading strategy backtests
- Building backtesting infrastructure
- Validating strategy performance and robustness
- Avoiding common backtesting biases
- Implementing walk-forward analysis
Do not use this skill when
- You need live trading execution or investment advice
- Historical data quality is unknown or incomplete
- The task is only a quick performance summary
Instructions
- Define hypothesis, universe, timeframe, and evaluation criteria.
- Build point-in-time data pipelines and realistic cost models.
- Implement event-driven simulation and execution logic.
- Use train/validation/test splits and walk-forward testing.
- If detailed examples are required, open
resources/implementation-playbook.md.
Safety
- Do not present backtests as guarantees of future performance.
- Avoid providing financial or investment advice.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
🧠 Knowledge Modules (Fractal Skills)
1. implementation-playbook
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/backtesting-frameworks-mm78nogl' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/backtesting-frameworks-mm78nogl/download' --output '.skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md.part' && mv '.skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md.part' '.skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md' && test -s '.skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/backtesting-frameworks' && cp -R '.skill-downloads/backtesting-frameworks-mm78nogl' '.claude/skills/backtesting-frameworks'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/backtesting-frameworks-mm78nogl'openskills read 'backtesting-frameworks-mm78nogl'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/backtesting-frameworks-mm78nogl/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.