More screenshots

    Works with the AI Agents you already use

    Honest Backtest: Crypto Strategy Edge Checker

    by Michael Lata

    1

    Backtests often yield false confidence by overfitting parameters to historical noise or accidentally peeking at future price data.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Honest Backtest: Crypto Strategy Edge Checker

    Honest Backtest: Crypto Strategy Edge Checker

    Example session with this skill installed

    I have an EMA crossover idea: go long when the fast EMA is above the slow EMA. Try fast 9/12/20 and slow 26/50/100 on BTCUSDT 1h from 2024-01-01 to 2026-11-01. Is the edge real or am I just overfitting the parameters?

    • Read your context and instructions
    • Compiled the honest backtest
    • Generated the document

    I wrote your rules into a strategy file (9 parameter combinations), ran the look-ahead check (passed) and validated it on almost three years of hourly BTCUSDT candles (about 24,800) with 0.1% fees and 0.05% slippage per side.

    Short answer: no, the edge isn't real. The best parameters (fast 20 / slow 100) made +21% on the tuning period but lost -25.8% on the 30% of data they had never seen. Random entries with the same number and length of trades did as well or better 69% of the time.

    Honest Backtest report

    Verdict: NO_EDGE. The strategy did not show a reliable advantage over chance or buy & hold on unseen data.

    Selected parameters (chosen on in-sample data only): {'fast': 20, 'slow': 100}
    Parameter combinations tested: 9

    MetricIn-sampleOut-of-sample
    total_return_pct21.06-25.83
    cagr_pct10.11-29.64
    sharpe0.45-1.17
    max_drawdown_pct-43.87-29.84
    num_trades110.0055.00
    win_rate_pct28.1823.64
    avg_trade_pct0.31-0.48
    exposure_pct53.8648.14
    profit_factor1.230.65

    Walk-forward (anchored)

    FoldReturn %SharpeParams
    126.831.33{'fast': 20, 'slow': 100}
    2-17.39-0.95{'fast': 20, 'slow': 100}
    3-38.84-3.13{'fast': 12, 'slow': 100}
    4-9.28-0.52{'fast': 20, 'slow': 100}

    Benchmarks (out-of-sample)

    • Positive walk-forward folds: 25%
    • Buy & hold return: -11.28% (max drawdown -40.31%)
    • Random-entry p-value (500 simulations): 0.694

    Not financial advice. Past performance does not guarantee future results. This tool never places orders.

    What this means

    • It only worked in the first walk-forward fold, then lost money in the next three: classic regime luck, not a repeatable pattern.
    • It lost more than simply holding BTC over the same period (-25.8% vs -11.3%), with a slightly smaller drawdown.
    • A 24% win rate with a profit factor under 1 means the big winners no longer pay for the many small losses.

    Honest next steps

    1. Don't trade this as-is, and don't keep tweaking EMA lengths until one passes: that is overfitting by another name.
    2. If you believe in the trend idea, add one filter with a reason behind it (e.g. only trade above the 200-period EMA), keep the grid small and re-validate.
    3. Try a higher timeframe (4h or 1d), where fees eat less of each trade.
    4. If a version ever reaches EDGE_LIKELY, paper trade it for several weeks before risking real money.

    honest-backtest-crypto-strategy-edge-che.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    About this skill

    Backtests often yield false confidence by overfitting parameters to historical noise or accidentally peeking at future price data. This skill subjects crypto trading strategies to rigorous out-of-sample validation and random-entry benchmarks to determine if a strategy has a genuine edge or is simply lucky.

    What it does

    • Out-of-sample testing: parameters are tuned only on the first 70% of the data and graded once on the remaining 30%, which is never used to choose anything.
    • Anchored walk-forward validation: re-optimises on past data and tests on the next unseen period, fold by fold, to check the edge is consistent and not one lucky stretch.
    • Look-ahead detection: recomputes signals on truncated data at 50 random cut points and flags any strategy whose past signals change when future candles are added.
    • Monte Carlo benchmarking: compares the strategy against 500 random-entry simulations with the same number of trades and holding times, and reports a p-value.
    • Overfitting analysis: flags strategies that look great during tuning but collapse on unseen data, and warns when too many parameter combinations were tested.
    • Realistic execution: next-candle fills, fees and slippage on every entry and exit, and a buy & hold comparison.

    How it works

    1. Define strategy logic using the provided template: a parameter grid and a function that returns a 0/1 position per candle.
    2. Fetch market data automatically from Binance public endpoints (no account, no API keys) or load a local OHLCV CSV.
    3. Run the validation script, which performs the look-ahead check, grid search, out-of-sample test, walk-forward and random-entry benchmark.
    4. Review the verdict in the markdown report: Edge Likely, No Edge, Overfit, Lookahead Bias or Insufficient Data, explained in plain English.

    Frameworks & tools

    Requires Python 3.10 or higher with pandas and numpy. Uses Binance public data endpoints for crypto spot price history and supports local CSV imports for custom datasets.

    Why this beats prompting it yourself

    Standard LLM prompts often generate code that peeks at future data or calculates global statistics that are impossible to use in real-time trading. They also tend to report the best in-sample result as if it were the expected performance. This skill enforces a strict data-leakage boundary and statistical benchmarks that a standard chat session does not verify.

    Use cases

    • Strategy vetting: check whether a new EMA or RSI idea survives out-of-sample testing before you paper trade it.
    • Bias detection: find "future-peeking" code that creates impossible win rates.
    • Benchmarking: see whether a bot actually beats buy & hold or random entries.

    Known limitations

    Long-only spot strategies. Requires at least 30 out-of-sample trades for a verdict; with fewer, the skill says so instead of guessing. Results describe the past only.

    Built from real losses

    The method comes from nine rounds of optimising real crypto strategies (trend, volume and ATR filters, grid search, Bollinger mean reversion, funding-rate arbitrage, regime switching, BTC and DOGE). Most variants that looked profitable in-sample lost money out of sample. Open-source bot and full log: https://github.com/Whiteherobot/crypto-trading-bot

    Not financial advice. You trade at your own risk. This skill never connects to an exchange account, never asks for API keys and never places orders. If you trade live, you do it with your own exchange account and your own decisions.

    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

    Money-back guarantee

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

    Trust & safety

    Security scan

    Security scan passed 14 days ago

    Accounts
    Binance
    Software
    Python 3.10+pandasnumpy

    Install the dependencies once with: pip install pandas numpy. No exchange account or API keys needed.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    data-api.binance.vision

    File Scopes

    reports/**
    .cache/**
    *.py

    Terminal runs the Python validation scripts. Network access is used only to download public Binance price history (data-api.binance.vision, no keys). Files written: the strategy file you create, cached price data in .cache/ and the report in reports/. No orders are ever placed.

    Listed14 days ago

    What's inside

    Frequently Asked Questions

    It tunes parameters only on the first 70% of the data, grades them once on the 30% they never saw, re-checks with anchored walk-forward folds, and compares the result with 500 random-entry simulations. That tells you whether your results look like a genuine edge or like historical noise — something a standard backtest script does not check.

    The skill includes the core Python validation engine, strategy definition templates, and a reporting module that generates a detailed markdown 'verdict' on your strategy's viability.

    It is compatible with any AI agent or environment running Python 3.10+; you simply provide your strategy logic via the included template and the skill handles the data fetching and statistical heavy lifting.

    Currently, the skill is optimized for long-only spot strategies and requires a minimum of 30 out-of-sample trades to provide a statistically significant verdict.

    The skill automatically fetches historical OHLCV data from Binance public endpoints, but it also supports local CSV uploads if you want to test strategies on other exchanges or custom assets.

    No. It tells you whether a strategy showed a real edge on past data it was not tuned on. Even an EDGE_LIKELY verdict is not a guarantee: paper trade before risking money. Not financial advice.

    No and no. It only downloads public price history from Binance (or reads your CSV). It never connects to an exchange account, never asks for keys and never places orders.

    New in Trading & Investing

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.