Strategy Overfitting & P-Hacking Deflator
Audits a backtest for the multiple-testing problem: deflated Sharpe ratio against how many variants you actually tried, probability of backtest overfitting, and a Monte Carlo slippage decay curve.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
About this skill
Algorithmic Strategy Overfitting & P-Hacking Deflator A Sharpe of 3 after two hundred parameter sweeps is a Sharpe of 3 for the sweep, not the strategy.
Built for quantitative and systematic traders about to risk real capital. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.
What it computes:
- Deflated Sharpe Ratio in the Lopez de Prado sense - the observed Sharpe penalized for the number of trials run, the sample length and the return distribution's skew and kurtosis, which is the number that survives contact with the multiple-testing problem.
- Probability of Backtest Overfitting via combinatorial purged cross-validation, estimating how often the in-sample best performer underperforms the median out of sample.
- Leakage detection - lookahead bias, survivorship, and the purging and embargo gaps that are missing when training folds touch test periods.
- Monte Carlo slippage decay - how much of the edge survives realistic execution costs.
Workflow: pull backtest logs and trade exports -> evaluate parameter count against sample size -> compute the penalty metrics -> stress-simulate -> deliver a Strategy Reality Card with the verdict and the working.
Diagnostics, not permission. A high deflated Sharpe does not make a strategy safe, these metrics depend on honestly reporting how many variants you tested, and none of this is investment advice.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.