Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Trading Strategy Backtest Auditor Skill

    1

    Audit trading backtests for leakage, overfitting, and unrealistic costs to verify strategy credibility.

    $19.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Trading Strategy Backtest Auditor Skill

    Trading Strategy Backtest Auditor Skill

    Example session with this skill installed

    Audit this backtest: 65% win rate, 2.1 profit factor, 12% max drawdown over 200 trades. Commission is $0.01/share, no slippage modeled. Strategy uses a 14-period RSI on 1h bars.

    • Read your context and instructions
    • Compiled the trading strategy backtest

    I have reviewed the summary metrics provided. Without trade-level logs, this audit is limited to a high-level statistical assessment of the reported expectancy and execution realism.

    Backtest Audit Report

    MetricValueFormula/Notes
    Expectancy0.35 R-unitsCalculated using reported win/loss ratios
    Profit Factor2.1Reported
    Sample Size200 tradesStatistically significant for 1h timeframe
    Execution Cost$0.01/shareWarning: No slippage modeled

    Findings Register

    • ID-01: Execution Realism | Severity: High

      • Issue: Zero slippage assumption.
      • Evidence: 1h RSI strategies often trade high-liquidity windows where spread impact is non-zero.
      • Impact: Likely inflates net profit by 15-30% depending on share price.
      • Fix: Re-run test with 1-2 ticks of slippage per side.
    • ID-02: Overfitting Risk | Severity: Medium

      • Issue: Single parameter (RSI-14) optimization.
      • Evidence: No mention of parameter stability or out-of-sample testing.
      • Impact: Risk of "parameter cliff" where performance degrades at RSI-13 or RSI-15.
      • Fix: Generate a parameter stability map for RSI values 10 through 20.
    • ID-03: Drawdown Integrity | Severity: Medium

      • Issue: 12% max drawdown reporting.
      • Evidence: Unclear if this is mark-to-market or closed-trade equity.
      • Impact: Closed-trade drawdown often masks significant intra-trade risk.

    Next steps

    1. Upload a trade-level CSV to verify the equity curve and intra-day drawdown.
    2. Re-calculate net P&L with a 0.05% slippage buffer to check strategy viability.
    3. Perform a walk-forward analysis using the first 140 trades for training and last 60 for testing.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Backtesting reports often suffer from hidden biases that lead to catastrophic real-world losses. This skill audits your quantitative strategy results to expose look-ahead bias, overfitting, and unrealistic execution assumptions before you commit capital.

    What it does

    • Integrity checks scans for look-ahead bias, target leakage, survivorship bias, and train/test contamination.
    • Expectancy analysis calculates trade counts, win/loss rates, mean net expectancy, and profit factors using verified formulas.
    • Risk assessment evaluates peak-to-trough drawdowns, recovery times, and tail loss concentration from equity series data.
    • Execution realism stress-tests results against slippage, bid-ask spreads, and financing costs to find the break-even threshold.
    • Overfitting detection identifies parameter cliffs, regime concentration, and multiple-testing risks in the optimization process.

    How it works

    1. Intake Provide your strategy rules, trade logs (CSV), instrument universe, and commission assumptions.
    2. Audit The agent reviews the data for methodology integrity, cost realism, and statistical fragility.
    3. Verdict Receive an executive verdict on credibility (Credible, Conditionally Credible, or Not Yet Credible).
    4. Action Follow the prioritized robustness matrix to fix high-severity leaks and run suggested walk-forward tests.

    Frameworks & tools

    This skill works with strategy outputs from platforms like QuantConnect, MetaTrader, TradingView, or custom Python/Pandas backtesting engines. It applies quantitative finance principles including walk-forward validation, bootstrap confidence intervals, and purged/embargoed splits.

    Why this beats prompting it yourself

    Generic prompts often miss subtle data leakage like future-revised data or timezone misalignments. This skill uses a systematic severity-rated framework that forces a skeptical review of every metric, ensuring you don't overlook a critical parameter cliff.

    Use cases

    • Auditing a vendor's strategy performance claims before purchasing a signal or bot.
    • Validating a custom Python backtest to ensure no target leakage occurred during feature engineering.
    • Stress-testing a profitable equity curve against 2x slippage and increased borrow costs.
    • Preparing a strategy for production by identifying the most robust parameter sets.

    Known limitations

    Cannot independently verify the raw data source quality or corporate action accuracy if not provided. Does not provide personalized financial advice or guarantee future returns.

    Cannot verify raw data source accuracy. Does not provide financial advice. Requires trade-level logs or equity series for full drawdown analysis.

    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 any payment.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 10 days ago

    Permissions

    No special permissions declared or detected

    Listed10 days ago

    What's inside

    Frequently Asked Questions

    The skill identifies 'silent killers' like look-ahead bias, target leakage, and parameter cliffs that make a strategy look profitable on paper but fail in live markets. It ensures your backtest accounts for realistic execution hurdles like slippage and financing costs.

    This skill is compatible with CSV trade logs and strategy summaries from any major platform, including QuantConnect, TradingView (Pine Script), MetaTrader, and custom Python/Pandas environments. As long as you can provide trade execution data and strategy rules, the auditor can process it.

    You receive the full agent skill configuration, a standardized CSV template for data intake, and a guidebook on interpreting the 'Robustness Matrix' and 'Credibility Verdict' reports. It is ready for immediate deployment within your supported AI agent environment.

    To get the most accurate audit, you should provide your trade logs (entry/exit timestamps and prices), the instrument universe, and your assumed commission or spread structure. The agent will guide you through the intake process if any critical data points are missing.

    While the auditor can evaluate any trade series, it is most effective on strategies with at least 30-50 trades to ensure statistical significance. It excels at auditing intraday, swing, and long-term trend-following strategies across equities, forex, and crypto.

    No, this skill is a diagnostic tool designed to verify the statistical integrity of past results. It does not provide financial advice, manage live capital, or guarantee that a 'Credible' strategy will remain profitable in future market regimes.

    New in Trading & Investing