Parameter Sweep

Test a whole range of parameter values in one run — and read the results without fooling yourself.

Instead of asking "is RSI period 14 right?", a sweep runs the same strategy across a range of values — period 8, 10, 12, … 20 — in one dispatch, then ranks the results. It's the fastest way to see whether a strategy's edge is stable around its parameters or balanced on a knife's edge.

Running a sweep

  1. Open Sweep in the sidebar. You don't pick a saved strategy — choosing an axis picks the strategy family for you (SMA/EMA cross, RSI extremes, or MACD signal), and the sweep builds the base strategy from it.
  2. Choose the parameter axis to vary and its range. Studio sweeps one axis (up to 30 combinations); Quant can grid up to three axes at once (bounded at ~512 combinations).
  3. Pick market, timeframe, and period like any backtest, then dispatch. Progress streams in; results appear as each combination finishes.

Reading the results

The leaderboard ranks combinations, and the heatmap/sparkline grid shows how performance changes as a parameter moves. The shape matters more than the single best cell:

  1. A plateau — many neighboring values performing similarly — suggests a stable edge that survives small parameter changes.
  2. A lone spike — one great cell surrounded by losers — is the signature of overfitting. That exact value happened to fit the past.
  3. Check the out-of-sample column: a combination that only wins in-sample didn't generalize.

Overfit check and the proxy reference

Overfit check is an ems-proxy-v2 exploratory warning. After a completed sweep, it verifies all completed row indices and symbol/direction/parameter identities, then uses the finite Sharpes. Stopped/failed searches, short reads, unknown scope and repeated configurations are unassessed. Earlier sweeps and manual searches are not tracked.

  1. Proxy reference is a zero-centered Expected Maximum Sharpe approximation: population standard deviation across run Sharpes times [(1−γ)Φ⁻¹(1−1/N)+γΦ⁻¹(1−1/(N·e))]. It does not add the observed mean. N is the finite row count treated as IID trials, not an estimated effective independent trial count.
  2. Best minus reference is a difference, not removal of selection bias. Above proxy reference means positive difference/best Sharpe ≥0.33; Near proxy reference means a smaller positive ratio; Below proxy reference means difference or best Sharpe ≤0. The legacy skill_fraction field is just the clamped ratio, not skill or a probability.
  3. This is not the full DSR probability of Bailey–López de Prado (2014). Raw trade returns, return-sample length, skewness, kurtosis, cross-trial correlation and effective independent trials are not inputs. A stored trade count or at most 100 downsampled equity points does not substitute for them. Equal Sharpes from different settings remain included; repeated configuration identities are separately unassessed. Distinct settings can be highly correlated. Repeating rows can change the reference/category without adding independent evidence. At least five finite values and usable spread are display guards, not reliability guarantees.

Multi-symbol sweeps (Quant)

Quant can run one parameter grid across up to 5 symbols at once, ranked by a robust score — the mean return across symbols minus one standard deviation. A combination that wins on BTC but loses on ETH ranks below one that's merely decent everywhere: cross-asset consistency beats single-asset brilliance.

Finding past sweeps

The Sweep page opens on your history: every run you have made, newest first, each carrying the same overfit verdict its result page shows. Click one to reopen its leaderboard, or delete one you are done with — deleting a sweep leaves any strategy you saved from it untouched, and does not give the quota back. Every run also has a permanent URL (/strategy/sweep/<run id>) you can bookmark; it is private to your account, not a share link. The most recent 50 runs are kept per account.