backtest-expert
Skill by tradermonty
Backtest Expert guides an AI assistant through systematic backtesting of trading strategies, favoring strategies that hold up under pessimistic assumptions. It is for quantitative and systematic traders who want to test robustness, avoid overfitting, and check for bias.
Install backtest-expert
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tradermonty/claude-trading-skills /tmp/claude-trading-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-trading-skills/skills/backtest-expert ~/.claude/skills/backtest-expertRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tradermonty/claude-trading-skills /tmp/claude-trading-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-trading-skills/skills/backtest-expert ~/.gemini/antigravity-cli/skills/backtest-expertAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Backtest Expert is an agent skill that gives an AI assistant a structured method for backtesting systematic trading strategies. It is built around finding strategies that break the least, not ones that profit the most on paper. The workflow covers stating a hypothesis, codifying rules with no discretion, running an initial backtest, stress testing parameters and execution friction, and walk-forward out-of-sample validation.
The skill includes an evaluation script that scores backtest metrics across five dimensions: Sample Size, Expectancy, Risk Management, Robustness, and Execution Realism. It writes JSON and Markdown reports with a machine-readable decision and blocking reasons. The script needs Python 3.9 or later and no API keys. It is aimed at quantitative and systematic traders who want to test for overfitting and bias before live trading.
Written from the project's SKILL.md and checked against it.
What it can do
- Hypothesis and rule codificationGuides the user to state a one-sentence edge and define entry, exit, sizing, filters and universe with no discretion.
- Stress testingCovers parameter sensitivity, slippage increases, worst-case fills, order rejections and pessimistic commissions.
- Walk-forward validationExplains rolling optimization and out-of-sample testing, with warning signs to watch for.
- Time robustness checksReviews year-by-year performance and regime behavior so results do not rely on one or two periods.
- Sample size guidanceSets minimum and preferred trade counts for statistical confidence.
- Evaluation scriptScores backtest inputs across five dimensions and produces a decision with blocking reasons.
- Bias and failure referenceDescribes common failure patterns such as look-ahead bias, survivorship bias and curve-fitting.
What you need
- Python 3.9 or later for the evaluation script
Try asking
- Stress test my mean-reversion strategy for parameter sensitivity and slippage
- Walk me through walk-forward validation for my backtest results
- Run the backtest evaluation on 150 trades with a 62% win rate
Good to know
- Metrics are user-provided, with no external data dependencies
- The quality score is diagnostic; the decision and blocking reasons are authoritative
- Designed for systematic traders; may not apply to discretionary setups
- Invalid inputs make the evaluation script exit with status 1 and no report
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/backtest-expert/SKILL.md, skills/backtest-expert/scripts/evaluate_backtest.py, skills/backtest-expert/scripts/tests/conftest.py, skills/backtest-expert/scripts/tests/test_evaluate_backtest.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/failed_tests.md8 KB -
references/methodology.md7 KB -
requirements.txt70 B -
scripts/evaluate_backtest.py22 KB
Show all 7 files
-
scripts/tests/conftest.py690 B -
scripts/tests/test_evaluate_backtest.py36 KB
Alternatives to backtest-expert
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
backtest-expert: common questions
What does the backtest-expert skill do?
It guides systematic backtesting of trading strategies with a focus on robustness, stress testing and out-of-sample validation. It also includes an evaluation script that scores backtest metrics.
Does backtest-expert need an API key?
No. The source states that no API keys are required and that the evaluation script needs Python 3.9 or later.
Does the skill fetch market data?
No. The source says there are no external data dependencies and that metrics are provided by the user.
How do I install backtest-expert?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is backtest-expert free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is backtest-expert safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to backtest-expert?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
