Attempts: every configuration you evaluate counts
Try enough settings and one of them will look good by luck. SwingSurfer keeps count of every configuration you evaluate on a strategy and shows each Sharpe twice: as measured, and after the attempts it took to find it.
What counts as an attempt
One attempt is one configuration evaluated on one market, at one timeframe, on one window:
| You do | Counts |
|---|---|
| Run a backtest in the Symbol Tester | Yes, once per configuration, symbol, timeframe and window |
| Run a starter strategy | Yes, exactly like rules you wrote. Opening one in the editor runs nothing |
| Run the Strategy Optimizer (a screen, a full run, a validation) | Yes |
| Run a portfolio test | Yes, on the book's own attempts: its portfolio card; under a strategy card, the books tested under that card (variants saved under other names are the same search); else its saved portfolio template. Never on the strategies in it: a book keeps their rules as they are, and choosing the book is the book's search |
| A strategy in a portfolio test, as one of its slots | Only when that slot runs something the strategy never ran: another configuration, timeframe, set of symbols or window (a slot with no symbols of its own trades the book's, through its market filter). Then it is one more attempt on the strategy, once, however many books run it. A slot that runs a version as you tested it (the same symbols its universe covered, on the strategy's window) adds nothing |
| Compare a book with and without each strategy, or rank candidates for it | On the book's attempts only, never on a strategy's |
| Re-run exactly the same thing | No, it is the same attempt |
| See the months since the seal in the Symbol Tester (the full view) | No more than the run itself: a full view and a development view of the same settings are one attempt, measured on development data only. Seeing the sealed months is recorded as a look instead: the sealed exam of every version of the account that has not taken it yet stops counting on those months. A window that lies wholly inside the sealed months has nothing to measure: it counts as one attempt with no Sharpe |
| Show a trade on the chart (the magnifier in a run's or a portfolio test's trade list) | No: it replays what that run already ran (its configuration, timeframe and window) on a symbol it traded. A trade of a portfolio test whose strategy you edited since cannot be replayed (it would be another configuration) |
| Change a parameter, the market or the timeframe | Yes, one more. On a strategy card, a configuration that already ran only on another timeframe is refused (for a run, a validation, a comparison's option or a promote's re-run alike): a strategy's timeframe is part of the strategy. Run it on the strategy's timeframe, or register the other timeframe as its own strategy (it shares these attempts) |
| Run the same rules at another risk per trade | Yes, one more: the risk is part of the version |
| Explore the same configuration from another start date | Yes, one more for each start that reads other bars. A start on a weekend or before the data begins reads the same bars as the next trading day, so it is the same attempt |
| End the window early (before your account seal) | Yes, one more: an end you choose is part of what you looked at. A window that runs to the seal is the same attempt after you roll the seal: new months are new data, not a choice |
| Run a strategy on another window | Not possible: a strategy's window is part of its hypothesis (from its data-since date to your account seal). Explore another window without the strategy: exploration is never the strategy's evidence, and each window you explore is one more attempt on it |
| Register the same rules as a new strategy | It shares their attempts: every run, book slot and backtest of the same rules counts on both. A new strategy is for a genuinely different reason, never another window on the same idea |
| A run that failed before showing any result | No |
| A run you cancelled after it showed trades | Yes, cancelling does not undo what you saw |
| Robustness re-runs (costs, delays, noisy prices, unseen symbols) | No: they test the same settings |
| A component comparison (compare one part at a time) | Yes, once per option that shows a result: every option is a version. Re-running the current one is not a new attempt; its options' neighbor settings count like the battery's (below) |
| Neighbor settings (the robustness battery's neighbor grid) | No, unless you later run or freeze one of them as a version: then every neighbor of that grid counts. Editing the setting by hand in the builder to a neighbor's value counts too (the builder relabels the setting, and the ledger looks past labels for this) |
| A portfolio test of a plateau ensemble | The test itself counts on the book, never on the strategy. But its neighbor members pick from the grid: every neighbor of that grid counts on the version's strategy, as if you had run one of them as a version |
| A sealed exam | Counted apart, never as an attempt |
Exploring without a strategy card still counts: when you later register the idea as a strategy, the earlier tries of the same template or the same rules are charged to it. So are the tries on another strategy card with the same template or the same rules (at any risk per trade; for a portfolio, the same book with its strategies at another risk): the meter says how many and how, for example "12 attempts, 4 of them on another card with the same rules", or "from the same template" when they only came from one of its templates. Freezing a version on such a card picks neighbor settings here too, like a freeze on this card. A new strategy starts at zero only when its rules are genuinely new.
Reading the Sharpe after N attempts
Next to every Sharpe (the Symbol Tester, the Optimizer's Summary panel, a portfolio result, the strategy card) you see:
- Sharpe, raw: as measured on the daily account series.
- Sharpe, after N attempts: the raw Sharpe minus what the best of N attempts with no edge at all would show by luck. It can be negative: then luck alone explains the result.
- Likely above luck: the chance the true Sharpe beats that luck line, given the result's length, skew and fat tails.
On a strategy card (Versions › Attempts) the Sharpe shown is the one of the version that stands for the strategy (its best version; when none stands yet, the version the card shows, or, when that one has no number yet, the newest version with a completed run, and the card names both), read on the run the Optimizer opens for it, so it matches that run's Summary. Trying something else never replaces it: a newer attempt, a one-symbol Symbol Tester backtest included, is listed in the table below with its raw Sharpe. Every attempt still counts, so the Sharpe after N attempts drops a little with each one. The raw Sharpe is that run's: a frozen version keeps its frozen run, while an unfrozen version is read on its newest completed run, so running it again (on another market too) can change it. When no version still standing has a completed run, the card says so and shows no number.
The haircut grows with how many attempts you made and with how different their results were: close neighbours of one setting have similar Sharpes and cost less than unrelated ideas. A first attempt takes no haircut.
For crash-prone returns (rare large losses), or after many near-copies of a winning setting, the Sharpe after N attempts can still hold some luck: read "likely above luck" there instead. The app says so in amber next to the number when a result's returns are crash-prone.
The budget
Each strategy shows a meter, for example "7 of 20 attempts". The budget (20 by default) is yours to set from the Research desk's Program view. It never blocks anything: past it the meter turns amber, and the haircut keeps growing with every attempt.
The program
The Program view also counts your whole program for the quarter: how many attempts you made, how many show a Sharpe above 1.0, and how many luck alone would produce if none of them had an edge. When the two numbers are close, the results are mostly luck. Attempts shorter than six months are left out of both numbers (the sentence says how many): too short for that estimate. It also corrects your Validated strategies for everything you tried (the program-wide false-discovery control at 10%).
For agents
| Surface | How |
|---|---|
| In-app agent and MCP | attempt_ledger(card_id=…) or attempt_ledger(template_id=…); with neither, the program (period, threshold) |
ss CLI | ss attempts --card-id …, or ss attempts --period quarter |
| REST | GET /api/v3/research/attempts?card_id=…, GET /api/v3/research/attempts/program |
Every backtest response carries the same block as attempts. A backtest sent
with replay (a recorded run, or a portfolio test's slot, on a symbol it traded)
is not an attempt: the server runs that record as it ran and records nothing.
Pass template_id
with an inline config when you tune a saved strategy, so the attempt is charged
to it. A template that is not yours, or no longer exists, is not charged: the
backtest counts on its rules alone, and attempts.notice says so. Only a person
can change the budget, in the app.