SO

    Strategy Overfitting & P-Hacking Deflator

    by AllAccessData

    1

    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

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Frequently Asked Questions

    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.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Strategy Overfitting & P-Hacking Deflator on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.