Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Backtest Reality Stress Tester

    1

    Stress-test trading backtests for data leakage, execution realism, and overfitting to verify strategy credibility.

    $9.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Backtest Reality Stress Tester

    Backtest Reality Stress Tester

    Example session with this skill installed

    Stress-test this Pine Script strategy. It shows a 4.0 profit factor, but I suspect repainting or lookahead bias. Here is the code and the CSV trade log from the last 12 months.

    • Read your context and instructions
    • Compiled the backtest reality stress

    Verdict: Material realism gaps. Score: 42/100. Analysis detected lookahead bias in the entry logic (same-bar exit). When adjusted for a 1-bar delay and 0.05% slippage, the profit factor dropped to 0.85. The edge is likely an artifact of timing errors, not market inefficiency.

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

    What you get

    Detect lookahead bias and repainting in strategy codeDetermine the break-even commission and slippage for any edgeIdentify if performance is driven by a few outlier tradesScore the credibility of out-of-sample validation results

    About this skill

    The problem

    Most backtests suffer from survival bias, lookahead errors, and unrealistic execution assumptions. Developers often find that strategies with stellar historical results collapse immediately when faced with real-world slippage, fees, or unseen market regimes.

    What it does

    • Identifies hidden data leakage, lookahead bias, and repainting indicators in Pine Script or Python code.
    • Calculates break-even friction levels to determine at what cost-per-trade the strategy edge disappears.
    • Stress-tests performance against parameter sensitivity, trade concentration, and regime shifts.
    • Evaluates the integrity of out-of-sample data and research chronology to detect search-bias and overfitting.
    • Produces a tiered robustness score constrained by the quality of available evidence.

    Frameworks & tools

    Works with Pine Script (TradingView), Python (Pandas/Backtrader), CSV trade logs, and standard brokerage backtest reports.

    Why this beats prompting it yourself

    This skill enforces a two-stage scoring rubric that prevents "absence of evidence" from being mistaken for "robustness." It uses specialized failure-pattern recognition to catch subtle timing errors that generic LLM prompts typically overlook.

    Use cases

    • Auditing a Pine Script strategy before committing capital to a live bot.
    • Validating third-party backtest claims before purchasing a trading signal or algorithm.
    • Determining if a strategy edge is a result of over-optimization or genuine market inefficiency.
    • Quantifying the impact of realistic slippage and borrow fees on high-turnover strategies.

    Known limitations

    Does not provide financial advice or guarantee future profits. Requires strategy code or detailed trade logs for high-confidence leakage detection.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Passed all security checks, Safe to install

    Listed1 month ago

    What's inside

    Frequently Asked Questions