Methodology
Most backtesters are cheerleaders — feed them a strategy and they hand back a flattering equity curve. Deflate is built to do the opposite: to assume your edge is a mirage until it survives being actively challenged, and to tell you plainly where it breaks. Here is what each check does, in plain terms, and — just as importantly — what Deflate cannot do.
What each check asks
- Walk-forward
- Re-fits the strategy on an earlier window and tests it on the next, unseen one — asking whether the edge survives on data it was never tuned on.
- Parameter sensitivity
- Nudges each parameter up and down — asking whether performance sits on a broad plateau or balances on a single lucky value.
- Deflated Sharpe
- Discounts the Sharpe ratio for how many parameter combinations were tried — asking whether the best result is better than you'd expect from luck alone across that many tries.
- Regime breakdown
- Splits returns by market condition — asking whether the edge is broad, or just one bull run wearing a strategy costume.
What each verdict means
- PASS
- The edge held up across every check we could run: it survived out-of-sample periods, small parameter changes, the multiple-testing penalty, and different market regimes. Encouraging — not a guarantee.
- SHAKY
- There is a signal, but at least one check flagged fragility — performance leaned on a narrow parameter range, one regime, or thinner out-of-sample results. Worth a closer look before trusting it.
- LIKELY OVERFIT
- The strong in-sample result mostly evaporated where it counts — out of sample, under small parameter changes, or after the multiple-testing penalty. A good-looking curve that probably won't repeat.
- UNTESTABLE
- There wasn't enough evidence to judge — too few trades, too little history, or windows too short to validate. Not a pass and not a fail: we won't pretend to know what the data can't tell us.
Why a great-looking curve can still be overfit
Try enough parameter combinations on one slice of history and some will look brilliant by chance alone — the equity curve fits the noise, not a repeatable edge. These checks exist to separate a real signal from a flattering coincidence, which is exactly what a single backtest number can hide.
Key terms
- In-sample vs. out-of-sample
- In-sample is the data a strategy was tuned on; out-of-sample is data it never saw. A strategy that performs well in-sample and poorly out-of-sample was memorized, not discovered. Nearly every overfit strategy looks strong in-sample — that is precisely the problem.
- Overfitting
- Fitting the noise of one historical period instead of a real, repeatable pattern. The signature is fragility: small changes to the parameters or the time window cause the returns to collapse.
- Walk-forward validation
- Rather than testing on all history at once, the data is divided into sequential segments: the strategy is tuned on one, tested on the next, then rolled forward and repeated. It approximates running the strategy through time instead of grading it with hindsight. A large gap between tuned and walk-forward performance indicates the edge does not travel.
- Deflated Sharpe ratio
- A conventional Sharpe ratio becomes more flattering the more variants are tried, because with enough attempts something scores well by chance. The Deflated Sharpe ratio corrects for how many effective variations could have been tested, then asks whether the result remains convincing once that search is accounted for.
- Regime concentration
- Whether returns were earned across varied market conditions or accumulated during a single favorable period. A strategy that produced its gains in one bull run, and little elsewhere, is not robust — it is a wager on that condition recurring.
- Parameter sensitivity
- How sharply performance depends on exact parameter values. A robust edge occupies a broad plateau: adjusting a threshold barely moves returns. A fragile one sits on a narrow peak, where the tuned values look strong and everything around them falls away — a hallmark of curve-fitting.
- Verdict (Pass / Shaky / Likely overfit / Untestable)
- Deflate's single summary judgment after all checks. Untestable does not indicate a poor strategy; it means the data or structure did not permit an honest test, which Deflate reports rather than disguising as a grade.
What Deflate does not do
Deflate is deliberately narrow. Understanding exactly where it stops is part of trusting what it reports, so its boundaries are stated plainly below.
- Returns are close to gross.
- Each backtest applies roughly 0.05% per fill for slippage and nothing for commissions, spread, or market impact — the same modest cost whether the instrument is highly liquid or thinly traded. Real-world friction is typically higher, particularly for strategies that trade frequently, so every return shown here should be read as optimistic.
- Fills occur at the following day's close.
- A signal on today's close is executed at the next day's close, a full session later. This is deliberate: it ensures the strategy never trades on information it could not have had. It is, however, a specific and unconventional assumption — execution is modeled at the closing price 24 hours after the signal, rather than the next open — and any intraday movement in between is not captured.
- Daily bars, one asset, long or flat.
- Deflate uses daily data only, with no intraday or weekly resolution, no short positions, and no multi-asset or cross-asset conditions. Positions are all-in or all-out, with no sizing, scaling, or rebalancing, and idle capital earns nothing. Any symbol entered — including crypto or futures tickers — is treated as equity-style daily data, with the same assumptions and costs.
- It can only observe survivors.
- Price data comes from a single source and is split- and dividend-adjusted. Any ticker with a significant data gap, often a sign of delisting, is rejected rather than modeled, so only instruments that still trade cleanly today can be tested — a bias toward past winners. The default window begins in 2015, a period dominated by a prolonged bull market. Deflate flags when an edge depends on a single regime, but it cannot detect bias in which ticker was selected.
- A limited strategy vocabulary.
- Deflate understands the RSI, SMA, and EMA indicators, compared against one another, against price, or against constants, and combined with and/or logic. It does not support other indicators such as MACD, Bollinger Bands, ATR, or volume-based conditions, nor seasonality or calendar rules, trailing or limit orders, or lookback references such as the highest high of the last N days. Strategies requiring these are declined rather than silently approximated. Stop-loss and take-profit orders are also not yet simulated, and strategies specifying them are declined for the same reason.
- Several thresholds reflect considered defaults rather than established standards.
- A number of the cutoffs Deflate applies — where parameter sensitivity is judged excessive, the 80% regime-concentration threshold, and the pass and fail boundaries for the Deflated Sharpe ratio — are values we selected and documented deliberately, not figures drawn from published literature. They reflect reasonable judgments, and other analysts may legitimately set them differently.