SwingSurfer

SwingSurfer is in private alpha. These pages describe the app as it works today.

The scorecard: nine questions every strategy answers

Every version of a strategy gets the same nine plain questions, answered from its own recorded runs. Nobody types an answer, and nobody types a label: SwingSurfer computes both, the same way for you and for your agents.

Where you see it

  • In the strategy's dossier, on its Scorecard · vN tab: the evidence ladder, then the nine rows (Question, Answer, Why, Evidence) and the label, with what to do next on the dossier's Next line under the tabs (the next step of the version shown; the plain verdict at the top names the strategy's own step only when it is another version's). The sealed exam is one line there; More beside it opens the whole of it. A version picker appears when the strategy has more than one version, and the Versions tab lists every version with its label and nine dots (see The strategy dossier).
  • On the Research board and under the dossier's title: each strategy shows its label and its evidence ladder in a compact form (nine small rungs and "Rung 2 of 9"), in the column its stage puts it in (see "The board" below).
  • In the Strategy Optimizer results, when the run is a version of a strategy: at the top of the Summary, the verdict, one sentence, the next step and the nine dots with their names; and on Robustness, one tab per question, each ending in that question's answer and why.
  • For agents: the get_scorecard tool (research.get_scorecard over MCP, ss scorecard <card_id> on the CLI, GET /api/v3/research/cards/{id}/scorecard), and the strategy's standing (every version's label, the best version and the stage) with get_card_stage (research.get_card_stage, ss stage <card_id>, GET /api/v3/research/cards/{id}/stage). The rules themselves are gates_contract (ss gates contract, GET /api/v3/research/gates/contract). The luck test behind question 1, and extending it, is the luck_test tool (research.luck_test, ss luck-test <card_id> [--extend], GET and POST /api/v3/research/cards/{id}/luck-test[/extend]). The tests behind questions 2 to 6, their cost before you launch them, and your own diagnostics are the robustness_battery and custom_diagnostics tools (see "The tests behind the answers" below).

The evidence ladder

The nine questions drawn as nine rungs, question 1 first. A rung is filled only when the answer is Yes, crossed when it is No, and hollow for every other answer, which is written under it as the scorecard gives it (Not yet, Too little, Inconclusive, Not run, Sealed, Not started, Not assessed, Not available). The ladder adds no judgment of its own: the highest rung reached is the last of the unbroken Yes answers from question 1 ("Reached rung 2 of 9 (enough data). Rung 3, over time: Inconclusive."), and any rung answered No is named too; when the climb stops at a No the compact line says so ("Stopped at rung 1: No"). A Yes above an open rung is drawn filled but does not count as reached. The label is still the scorecard's own (see "The labels" below): the ladder is a way to read the nine answers, not a tenth.

The nine questions

#QuestionAnswered from
1Is the edge real, or luck?The luck test: the strategy against random-timing copies with the same exposure
2Is there enough data to tell?The power check: the independent trades and years the measured edge needs
3Does it hold up over time?Calendar folds: each year judged alone, and no single year carrying the result (a year with no trade, such as an indicator's warm-up, is named and counted neither positive nor negative)
4Is it fragile?Nearby settings, noisy prices, a selection check, and entries and exits one bar late (Deep adds 100 noisy paths and entries and exits two bars late)
5Does it survive costs?The cost speed limit and re-runs at 1.5 and 2 times the costs (Deep adds 3 times)
6Does it work where it wasn't built?The same settings on symbols the strategy never used
7Did it pass the sealed exam?The version's one look at the sealed twelve months
8Does it behave live as tested?Forward time: the version's own trades in a live book against the range its backtest expected (Incubation)
9Does it improve your portfolio?What it adds to a book that holds it: the book tested again with and without it (Portfolios)

Questions 2 and 6 count trades entered on the same day as one observation, so the edge they read is per trade, averaged by trade-day: each day's trades are averaged first, then the days. It differs from the net R per trade shown in the Versions table and the cost re-runs (every trade counted once) whenever some days hold more trades than others, and the answers always say which one they mean.

Reading an answer

AnswerDotMeans
YesgreenThe test ran and passed
NoredThe test ran and failed
Not yet, Too little, InconclusiveamberThe test ran but the data cannot settle it yet; the next step says what would
Not run, Sealed, Not started, Not assessedgrey (hollow)Nothing recorded for this version yet
Not availablegrey (hollow)Question 7 only: the sealed months were seen, so no exam of this version can count. Never a failure and never a pass; the next step is the forward route

Thin data never reads "No": it reads "Too little" or "Inconclusive", with what would settle it (usually more symbols or more history).

Runs recorded before trades carried their three times. A run recorded before each trade carried its signal, decision and fill times cannot be read on development data, so the scorecard says what to do instead of answering: a version whose newest run predates them asks you to run the version again (the new run becomes its basis); a version frozen before them is judged on the run it was frozen from, and only on it, so it asks you to freeze a new version (a changed configuration): running it again cannot help. Neither offers a retry: retrying cannot change them.

The luck test gets stricter with every attempt. On a first attempt a strategy must beat 95% of the random-timing copies; after 2 attempts on the strategy, 97.5%; after 5, 99%. The bar shown is rounded up, so it is never understated. Attempts on the same rules count wherever they were made: on another strategy card with the same rules or template too, and the answer says how many and how ("after 12 attempts on this strategy (4 of them on another card with the same rules)", or "from the same template"). See Attempts.

Past what the copies can show. Beating all 200 copies is at best a 1 in 201 chance of luck (less on a short window, where the copies can only be placed on its bars), which clears the bar up to 10 attempts. After more attempts the answer stays inconclusive until more copies are counted, so a version tested that often is never Validated on 200 copies. For a strategy that beats every copy, the answer also says what a fat-tailed fit to the copies suggests ("about 1 in 2,400 that this is luck, which would clear the bar for up to 126 attempts"), as context only: a fit reads the copies' middle and their 95th percentile, and a small group of extreme copies, such as a rare jump that 1 to 3% of the random re-timings catch, leaves both where they were. With 1% of the copies 12 standard deviations out, a fit-decided yes would be wrong 11.8% of the time at 30 attempts, 2.45 times the bar; at 30 standard deviations, 55% at 200 attempts.

Extending the luck test. When a version beats every copy but the bar needs more of them, question 1's row offers "Extend the luck test", with the copies it will draw, how long it should take, and that it is never an attempt (the same control sits on the Strategy Optimizer's Robustness › Luck). An extension draws the next random-timing copies of the version's own sequence, with the same exposure and costs, on development data, and question 1 then reads the whole count: "Counted over 2,500 copies: 200 in its run and 2,300 more from its extension". A long extension runs in parts. It is extended only while the strategy beats every copy: once a copy does at least as well, the count stands where it is. It stops early only when finishing could no longer clear the bar, never to say yes sooner, and a yes needs every copy it planned. A failed or cancelled extension draws the same copies again, so an extension cannot re-roll its copies.

Re-running a version reproduces its luck test. The copies are fixed by what is tested: the version's rules, its timeframe, its symbols and the prices its rules read. Every run of the version on the same data draws the same copies and gets the same answer (a start date before your data, or on a day the market was closed, reads the same data; the entry and exit metrics you pick never change the copies), and an extension made under one run counts for every run of the version (each copy once). Re-running can never draw a luckier luck test, so never re-run a version hoping for one. Another version or other data is another test: every version you try raises the bar. The window and the risk are chosen before you look: the window belongs to the hypothesis (every run of a strategy runs from its data-since date, else from the first bar, to your account seal, and the date cannot move once the strategy has a run), the risk to the version (the same rules at another risk per trade are another version, counted as another attempt). A luck test seeded by its run is not read: run the version again. A frozen version is judged on the run it was frozen from, and only on it: when that run cannot answer (its luck test was drawn the old way, or the server now runs another engine or random-timing method than it did), question 1 says to freeze a new version, because running it again cannot help. Where the window is too short for any number of copies to show the rarity the bar needs, it says so: a longer history could.

When a run has no luck test, it says why. Question 1 then reads Not run with the cause in its own words and its code, for example: a strategy that trades both sides in flip mode places its own entries, so random-timing copies of it cannot be drawn (LUCK_TEST_FLIP_MODE: question 1 stays open for the strategy as built; running it as long only, short only or hedge is a new version, a new attempt; a flip strategy with an entry on one side only keeps its luck test); most copies' entries fell on dates where their symbol had no bar, because its trades sit on symbols with short histories (LUCK_TEST_COPIES_DROPPED); it closed no trade before the account seal (LUCK_TEST_NO_TRADES_BEFORE_SEAL); or too few copies completed (LUCK_TEST_TOO_FEW_COPIES). When the cause is in the strategy or its data, the next step is a change: running it again gives the same answer. A run recorded before runs kept the cause says so (LUCK_TEST_CAUSE_NOT_RECORDED): running it again records one. ss luck-test --extend refuses such a run with the same sentence.

Unseen symbols and the sealed exam answer their own questions (6 and 7): they never settle question 1.

How the result is spread

Beside the nine answers the scorecard says how much of the result a handful of trades and symbols made, on the same development trades question 2 reads, in net trade R after costs, R figures first. For a run of 500 trades where 498 lose 0.1R each and two DOGE trades make +60R each: "Its top 5 trades of 500 made +119.70R, more than the whole run's +70.20R: the other 495 trades lost 49.50R (average -0.10R). The median trade is -0.10R. Half of the total came from its top 1 trade of 500. Its top symbol, DOGE, made +120.00R, more than the whole run's +70.20R; without it the other 498 trades lost 49.80R (average -0.10R)." On an ordinary run it reads like "Its top 5 trades of 500 made +19.80R, 40% of the run's +49.50R: the other 495 trades made +29.70R (average +0.06R)."

The block (concentration) lists what the top 1, 5 and 10 trades and the top 1 and 5 symbols made (sum_r), how many top trades and symbols make half of the total, the run without its top 5 trades and without its top symbol, and the median trade. A percentage (share) is given only when it is a part of a positive total (between 0 and 100%): when the top trades made more than the whole run, or the trades lose or break even in total, there is no share and the sentence says it in R. A top 10 is listed only when there are more than 10 trades (the top 10 of 7 trades is the whole run).

It also says how the result bunches in time (time): the same trades grouped by the calendar month (UTC) in which each was entered (its entry fill), what the best month and the best 3 months made, how many of the best months make half of the total, and what the other months made without the best one (the field time.without_top_month.total_r is exact; the sentence prints the other months as its printed total minus its printed best month, so the two parts you read add up to the total it prints, and can differ from the field by one cent). The best entry week is named too when it made a quarter of the total or more. A run whose trades entered in August 2024 made 75% of all its R reads: "By entry month (UTC), its 111 trades entered in Aug 2024 made +54.90R, 75% of the run's +73.20R; the other 58 months with entries made +18.30R." Such a result is one market episode, not a repeatable edge, however spread it looks by trade and by symbol. Question 3 judges calendar years of the account; this line describes months of entries: the two can differ (a year can grow on one good month), and neither changes the other.

It is a description, never a gate: it changes no answer, no rung of the ladder and no label. Read it before calling a result an edge: a result two trades made is two trades. It shows in the Scorecard tab under the evidence ladder, in ss scorecard, and in the scorecard tools.

The tests behind the answers

Questions 2 to 6 are answered by the robustness tests, run on the version's development data. They come in three presets, each including the one before:

PresetRunsRe-runs at most
QuickThe tests computed from the run itself: the power check, calendar folds, the cost speed limitnone
StandardEvery test the scorecard needs: Quick, plus costs at 1.5 and 2 times, entries and exits one bar late, nearby settings (up to 8 moved) and the selection check, 30 noisy price paths, unseen symbols83
DeepStandard plus the heavier simulations: 100 noisy paths instead of 30, entries and exits two bars late, costs at 3 times, every setting moved (up to 24), and for question 1 the luck test extended when its copies cannot decide220, plus the luck test's part

Deep only makes answers stricter. A Deep test that fails turns its question to "No", even when the Standard tests passed. A Deep test that passes, cannot decide, or was never run changes nothing: it never turns a "No" into "Yes", and a version nobody runs Deep on reads exactly as its Standard tests say. Because a "No" on a frozen version is permanent, a Deep test fails only on strong evidence: the preset's five ways to fail share one 5% budget, so a strategy sitting exactly on every Deep line at once fails it at most 5% of the time (measured: 2 to 4%), while a clearly fragile one still fails. A pass needs the usual 95%. On the Optimizer's Robustness view a Deep test that has not run reads optional, and Run the Deep tests sits next to the Standard button.

What a launch costs, before you launch it. Each button shows what it would start: the re-runs, the symbol passes (one per symbol for each re-run), the expected minutes, and that it is never an attempt. Agents get the same numbers from the estimate (robustness_battery with estimate, ss robustness estimate <run_id> --preset deep, GET /api/v3/research/strategy-runs/{run_id}/robustness/estimate) for any preset or list of tests. A re-run is a check of the version, never a new attempt; a nearby setting is the one exception, and only once you run or freeze it as a version of its own.

Your own questions: custom diagnostics

You, or an agent, can ask a version's recorded results your own question, such as "do Tuesday entries earn more than the rest?". A custom diagnostic is not code: you pick each part from fixed lists.

  • Which trades or days: the side, the symbol, the weekday, month, day of the month, hour or year of the bar the entry was decided on, an entry metric as it stood on that bar, or the market regime of that day (trend, volatility, bull or bear, labelled from earlier closes only). Or the days of the account.
  • What to measure: the mean net R per trade, the win rate, the daily Sharpe, the maximum drawdown, or the share of the result.
  • Against what: zero, or the rest of the version's trades or days.
  • The rule: pass when the measure is above zero (or below it), with 95% confidence on each side, counted by day so a busy day is one observation.

Anything known only after an entry was decided (its result, its exit, how long it was held) is refused with the reason, and so is a slice with no trades in it: nothing is recorded. Each diagnostic is kept with who wrote it, when, and whether it was written after results of the same rules existed in your account (any run of them, explored or not). It is never edited, and neither it nor its results can be deleted from the app: a changed question is a new diagnostic. A version keeps up to 100 of them.

A diagnostic never changes an answer or a label. It is shown beside the robustness tests and under the question it is about, marked "diagnostic, never changes a label", and it is never an attempt. A question written after seeing the results can be shaped to pass, so it can inform you, never decide. A diagnostic becomes one of the scorecard's tests only as a reviewed change to SwingSurfer itself: there is no switch that approves one. Agents use the custom_diagnostics tool (research.custom_diagnostics, ss robustness diagnostics <card_id>, /api/v3/research/cards/{id}/robustness/custom-tests).

The labels

SwingSurfer computes a version's label from its recorded runs, every time it is read. The rules are checked in this order, and the first that fits is the label: Failed, Field-tested, Validated, Forward-tested, Promising, Candidate. A version that fits none has no label yet.

The scorecard's label (REST, get_scorecard, ss scorecard --json) is always an object: state is labelled (with the label's id, name, means and needs), withheld (the rules gave a label, but the version does not trade differently from another strategy's earlier version, or waits for one's run; withheld says which, and how it would become distinct) or none; reason says why in one sentence.

LabelMeansNeeds
CandidateIt runs and makes money after costsA clean run with at least 30 trades that makes money after costs, per trade and on the account
PromisingNo red flag, but the edge is not proven yetA frozen version with no failed question
ValidatedQuestions 1 to 6 hold, and it was not broken in its sealed year: strong evidence, not proofQuestions 1 to 7 answered yes, including a sealed exam that counts
Forward-testedQuestions 1 to 6 hold, and it behaved as tested on days that came after its freeze. Shown with: "The sealed months were seen, so its proof is the forward record alone." (once the seal has rolled past those months and the label is kept, with the kept line below instead)Frozen, questions 1 to 6 answered yes, its sealed exam unable to count because the sealed months were seen, and question 8 answered yes on live books started after the freeze (a book bound on an earlier day than the freeze never counts here)
Field-testedValidated, and it behaved live as testedQuestion 8 answered yes: at least 63 recorded forward trading days and 30 trades closed on them, inside its expected range, never below its 1% line, and its entry and exit fills within the assumed slippage (Incubation)
FailedA frozen version failed a questionAny "No" among questions 1 to 8 on a frozen version

The forward route. Once you look at the sealed months (a full view on the Backtest page), no sealed exam of a version you freeze afterwards can count, so it can never be Validated by its exam. Its question 7 reads Not available and names the way forward: run the frozen version in a live book started after its freeze (Incubation). Forward days did not exist when you froze it, so they are the strongest evidence there is. Forward-tested is never called Validated and opens nothing Promising does not: sizing by grade above the flat risk still needs a Validated version, and the real-money consent names a Forward-tested strategy below Field-tested. A sealed exam you take anyway is recorded as information, not evidence; if it fails, the version still fails.

A Forward-tested label is kept. The first time a version reaches Forward-tested, SwingSurfer records when and on which forward records it was earned. When the seal later rolls past the months you saw (so an exam taken then would count again), the label stays. Wherever the label shows (the scorecard, the board card, the dossier, agents and ss) its line then says when it was earned (the forward record's newest judged day it rests on, and the day SwingSurfer recorded it), that its proof is the forward record, and where its one sealed exam stands: not taken and able to count now (passing it is the route to Validated), not able to count for another reason, running, stopped, or taken (question 7 then says what it found). The scorecard's label carries the record too (earned, kept: true). Only the version's own records can take it away: its forward record leaving its expected range or breaking its 1 % line, a question that stops answering yes, a failed exam, or a record it was earned on being restated. A counted exam you take later can still make it Validated. A new freeze or a new configuration starts without it.

A new version starts unlabelled: it reads its own runs only, never its parent's. Question 9 is about your book, so a "No" there never fails a strategy on its own, and no label waits for it.

Question 9 reads the newest "what each slot adds" comparison of a portfolio test that holds the version: the book tested again as it is and without each slot, every book a full simulation on shared capital. "Adds value" is a Yes. "One strategy twice", "Adds risk, not return" and "Overlaps" a slot are a No, with what to do about the book. "Not distinguishable" is Inconclusive: more days of history would settle it. Its row shows the verdict with the book's Sharpe with and without the strategy and the range of the difference; the evidence opens the compared test's "What each adds" list in the Portfolio Builder. Until a comparison exists, it reads Not assessed with how the strategy moves with the rest of its newest book and the comparison to run (a book of one strategy needs a second one first; an unsaved book needs saving); while one runs, it says so. When you have tested the book again since, the earlier comparison's answer stays until the newest test is compared, and it says so. A comparison counts for a version only when the book ran exactly that version in the slot: after you change the strategy's settings, test the book again, then compare it.

The scorecard reads development data only, and judges a version at its flat risk per trade: its runs size every trade the same way even when its template carries a grade ladder, so grades can never make the answers look better. Whether grading helps is a separate question, answered by the grade checks; a grade above the flat risk needs a Validated version whose grade checks admit it, both to be promoted and for a live portfolio trading it to be armed.

The best version and the board

A strategy can have many versions. Its best version stands for it: the one with the highest label (Field-tested, then Validated, then Forward-tested, then Promising, then Candidate). A Failed version is never the best, and when two versions share the top label the newer one is.

A failed freeze retires what came before it. When a frozen version fails, every version first run before that freeze (or at the same moment) is retired, except the versions you froze EARLIER than it that did not fail. Every failed freeze counts, not only the latest. A retired version is never the best: re-running its settings does not bring it back, and neither does freezing it after the failure, because that would be a second look at your sealed months. A version you first run after the failure is new research. For example: if v1 is frozen and Validated and a later frozen v2 fails, v1 still stands for the strategy and its card notes v2 failed; if v1, v2 and v3 were explored and the frozen v2 fails, all three are retired, and freezing v1 afterwards does not change that.

The Research board's columns are the strategy's stage, computed from its versions' labels and from any live portfolio that runs it:

ColumnThe strategy is here when
IdeasNo version has completed a run yet
TestingIts best version is a Candidate or Promising, or Forward-tested with no live portfolio running it, or no version standing for it has a label yet (new research after a failed freeze included). A live portfolio may already run it, with real money too once you consent: it is then marked Real money. A portfolio started on the Live page is known after the scheduler's next incubation pass (about every 15 minutes) and shows at the next board read; no mark before then does not mean no real money
ValidatedIts best version is Validated or Field-tested, and no live portfolio runs it
IncubatingIts best version is Validated, Field-tested or Forward-tested, and a live portfolio runs it: signals only, a paper account, or real money before Field-tested (Forward-tested is always before Field-tested)
LiveIts best version is Field-tested and a live portfolio runs it with real money

A strategy you archive, or whose failed freeze leaves no labelled version standing, moves to the Library: it leaves the board, and the Research page's Library tab (its count beside it) lists it with why it left ("v3 was frozen and answered no on question 7") and when (The research desk). A version first run after the failure brings it back to Testing.

Portfolio cards have no label until books are scored. A portfolio card sits in Live when a live portfolio runs it with real money, in Incubating when one runs it without money (signals only, a dry run, a verified paper account), in Testing once a portfolio test of it has completed, and in Ideas before that. Archived, it moves to the Library. A live portfolio's account counts as paper only when its own broker connection is declared paper and the broker verified it; anything else counts as real money.

The board updates by itself when a run finishes, a version is frozen or an exam is graded; a change to a live portfolio shows the next time the board loads. While a strategy's standing is being worked out again, its card says label unknown with a retry; it never shows a guessed column. Agent goals end the same way: a research goal is done when the best version reaches the label it aims for (Promising, or Validated when you ask for it), as SwingSurfer computes it.

Nobody can set a label or a stage: not you, not an agent, not an API key. They change only when the recorded runs do.

A label is not real-money clearance. Real money moves only with your consent, at any label: the consent dialog shows every strategy's label and nine dots before you arm, and names every one below Field-tested in the acknowledgement you tick. The label is evidence, never a gate. No agent and no API key can arm real money.

Real money is marked wherever a strategy stands. A column says how far a strategy's evidence got, never where its money is. So a strategy you armed with real money before it was Field-tested stays in the column its label gives (Testing, Incubating, or the Library if you archived it or a failed freeze retired it) and says Real money in red beside its stage: on its board card, its row in the List and the Library, its dossier's header, the strategy picker, the Agent Hub's card chip, and every read an agent makes of where it stands (real_money_mark on get_card_stage and on each board card, with one sentence saying it, e.g. "its best version is Promising: below Field-tested, the bar real money is read against"; ss stage prints it under the stage). The Gates reference states the rule. An account that is not verified as paper counts as real money.

A live portfolio runs a strategy when one of the strategy's versions trades in one of its slots, or the strategy's exact rules do at a risk per trade no version of it ran (a version is its rules at one flat risk: the same rules at another risk are still that strategy trading), or when it was started from the strategy's research thread. A portfolio started on the Live page is known after the scheduler's next incubation pass (about every 15 minutes) and shows at the next board read; no mark before then does not mean no real money. Switching a portfolio SwingSurfer already knows to real money shows at the next board read. A portfolio counts until it is stopped: paused or in an error state, it still holds its positions; a stopped or deleted one does not. Every strategy in a real-money portfolio's slots is marked, not only the one you started it from, and each of them gets the portfolio's live alerts in Needs you, archived or not. A portfolio card is run by a live portfolio of exactly a book you tested on it.