SwingSurfer

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

Incubation: live results against the expected range

A live portfolio runs a frozen configuration forward. Incubation compares it, day by day, with the range its own backtest expected: the cone. It answers a narrow question, "does it behave live as tested?", which is question 8 of the scorecard. It checks behavior and execution. Three months cannot prove an edge, and incubation does not pretend to.

The Live page's Incubation tab shows it: the state, the day against the 63-day minimum, the closed trades against 30, the slippage of the fills against the slippage the backtest assumed, the cone with the live line (and, for a book whose orders were filled, its fills line) and today's marker, the rules in plain words, what the incubation did, each strategy's own trades against its version's range, and the grade review of a book that sizes by grade.

The research desk's board shows every running book too, in Incubating when it moves no money and in Live when it may move real money, with the day of its line against the 63-day minimum and a link back to this tab's book (the research desk).

Without opening the tab, every running book's card on the Live page and its tile on the board draw the same thing small: the live line so far inside its 5 to 95% band (only the days already run, never the range ahead), and for a book whose orders were filled its fills line too (dashed), with the state in words beside it ("Inside the range", "Below the 5% line"; with two lines, the worse of them) and, on hover or to a screen reader, the day, the value and the band of the newest day. A book not bound yet, or whose incubation could not be read, says so in words. A stopped book's card shows none.

What it is bound to

When a live portfolio is activated, its incubation records exactly what it runs: its configuration (the hash pinned at activation), the book's research identity (the same identity a portfolio test of exactly this book carries) and, for every strategy slot, its template, its version (its configuration at its flat risk per trade), whether it sizes by grade and the slippage its template assumes.

A forward record counts only while the book runs that exact configuration. Any change starts a new incubation at day 0: the tab says "Incubation restarted" with the old and new configuration, and the strategy's question 8 starts again. The earlier record is kept, and never counts for the new configuration. Stopping or deleting the book ends its incubation.

The expected range

The cone is drawn from a backtest of exactly what the book runs. It is bound once and never replaced, so a friendlier backtest cannot be picked later:

  • The book: a completed portfolio test of exactly this book's configuration (its weights included, since the live book applies them) that ran on the current portfolio engine and the current strategy engine, and stored its daily account series. A test of an older engine simulated other rules than the book trades, so it is never used: run the test again. The newest one completed by the day incubation began is used, or else the first one completed after it. Until one exists, the tab says "No expected range yet" and why, and the live line is drawn alone.
  • Each strategy slot: a completed run of exactly its version, on the current strategy engine. A template that is not a version of one of your strategies has none.

An engine update never replaces the backtest an incubation is already bound to; it decides what a new incubation can be bound to.

How it is drawn. 4,000 paths are drawn from the backtest's daily results in blocks of consecutive days (a stationary block bootstrap, the same resampler the robustness tests use, with blocks of about a week to a quarter), so calm and turbulent stretches stay together. The bands are the 1, 5, 50, 95 and 99 percent levels of those paths on every forward day. Day 0, the day incubation began, is 0 in every band. The cone reaches at least half a year of forward days and grows a month at a time. A backtest shorter than 60 days cannot say what to expect, and the tab says so.

A strategy's range counts trades, not days. A strategy slot's range is drawn from its version's own trades, grouped by the day each was entered (trades entered together count as one), and it is read at the slot's own number of closed trades: after 25 trades, the range of 25 trades. How often the slot trades never moves where it sits, only what its trades earn does. A slot that trades half as often as its backtest is not read as a broken edge; its book's line still shows the lower return. A version's backtest needs at least 30 trades on 20 days to draw this range.

The haircut. The cone is centred on half the backtest's mean result (per day for the book, per trade for a strategy), never on the raw backtest. A backtest is the best of what was tried. Published anomalies earn about a quarter less out of sample and more than half less after publication (McLean and Pontiff, 2016), and halving a backtest's Sharpe ratio is the practitioners' rule of thumb for a strategy picked from a search (Harvey and Liu, 2015). The spread stays the backtest's own, so a live result that lags the raw backtest but behaves like it stays inside. A backtest that loses money is never raised.

The same range on every read. The draw is seeded by the configuration it tests and the data it read. The same book on the same backtest always draws the same cone. A new run, a request or the clock never changes it.

The live line

  • The book: its cumulative return since day 0, in percent of the account, from its track record. This is the signal book: the strategy's own trades after the costs the backtest models, marked at each day's closes. It is the basis the backtest is measured on, in every mode.
  • Its fills line: a book whose orders the venue filled also has a second, dashed line: the same days priced at its own fills, meaning the size each order really got, the price it really got and the commission it really paid, marked at the same closes. An entry the venue filled in part holds only what was filled, an entry it never filled holds nothing, and an exit at a stop that gapped closes at the price it really got. It is judged against the same range and pauses the book like the signal line. It is not the broker account, which can serve several books and whose cash moves. A position the venue holds but the signal book does not (an exit the venue never filled, a fill the signal book has no entry for: exactly where the two books part) is marked at the prices store's daily close on or before the day, so the line keeps going where it matters most. A day on which an open fill has no close anywhere has no point; one whose close could not be read is counted apart and read again at the next pass. Changing the book's capital moves neither line: what it has gained or lost so far scales with the capital, as the book itself does, and an open position (held in shares) stays as it is.
  • A strategy slot: its own closed trades' cumulative trade R, on the day each closed, read on its range at its own number of trades. A next-open exit closes its trade on the day it fills, at the open it fills at, as the backtest books it, never at the estimate of the close it was decided on; until that open is known the trade is not closed yet. A day judged before the number of trades was recorded has no place on that axis: the chart leaves it off and says how many.
  • Forward days are counted on the backtest's own calendar. An equity backtest counts NYSE sessions: a weekend or an NYSE holiday is not a forward day, and the session after it is the next one. A crypto or mixed one counts every day. The tab says which days were counted. A day missing from the record is a gap: it is never filled in and never judged.
  • Reconstructed days are drawn and judged against the range. A reconstructed day values the live signal record at the same closes, so it shows what the strategy did, but it is not the engine's own end-of-day book. It is always drawn hollow (○) and counted apart, never shown as recorded. A trigger that rests on reconstructed days says how many, and question 8 never counts them (below).

The triggers

TriggerWhenWhat happens
ReviewThe book is below its 5% line for 10 forward days in a row, on its signal line or its fills lineA review notice on the book, its card on the Live page and Needs you on the research desk, saying which line and how many of those days are reconstructed. Nothing is changed. Raised once per run below the line.
PauseThe book falls below its 1% line, on its signal line or its fills line, whichever breaks firstThe book is paused through the ordinary pause: it stops evaluating, so no new signal or order, and its working entry orders are cancelled. Protective stops stay, and so does an exit already working at your broker (cancelling it would leave its position without a stop). It never adds exposure. Needs you reads "paused: review or resume" and names the line. It happens once per breach: the line must come back above the 1% line before another breach pauses it again, and one pause handles both lines, whether they break together or one after the other: while the line that paused it is still below its 1% line, the other line breaking is recorded under the same pause and never pauses the book again, even after you resumed it.

The incubation acts only on the newest day it judged. A breach found later in an old stretch is recorded, never acted on. A day missing from the record neither counts toward a run of 10 nor breaks it. A run keeps the start date it had when it was first detected: a missing day the track record fills in later never moves it and never makes it a second review or a second pause. A book that is not running when it falls below the 1% line (you paused it, or it is warming up) is not paused: its alert says so, and if it runs again while still below the line, it is paused then. You resume a paused book with the ordinary resume. For a book that places orders, that is your action in the browser, with its typed confirmation. Both triggers are recorded on the book and listed on the tab, newest first, and agents read them.

Question 8 and Field-tested

Question 8 is answered per version, from that version's own trades in every live book that ran exactly its configuration. It counts only the days the live engine recorded itself, from the first whole day after the incubation was bound: a reconstructed day, and a day before the binding, are drawn on the chart but are never the version's evidence. That matters for a book that was live before incubation existed: it is bound the first time the incubation runs, and what it ran before then was not recorded. The 63 days are those recorded days; the 30 trades are trades opened from that day and closed on one of them. The tab's Recorded days and Trades show these counts against their minimums, beside the line's own day and total.

Question 8 also judges the version on its own line, started at that first counted day: the cumulative R of the trades opened from then, against the expected range at as many trades. Trades from before the binding never move it. Losses before the binding cannot fail the version, and gains before it cannot hide counted trades that fall short. A trade opened from that day still moves the line when it closed on a reconstructed day, because the trade itself is in the live signal record. The range is read on the newest counted day, and a breach of the 1% line counts only on a counted day, and only once the line holds 30 trades: thin data never answers "No", which is permanent. The book's protective pause does not wait for that, because it is reversible. The same expected range applies to a line that starts later: the range is drawn so that any run of n trades has the same spread as the first n.

Every live record of the version counts. While another book running the same version sits outside its range on its newest counted day, question 8 cannot answer yes. A book that was stopped or changed while outside its range still holds question 8 at "Not yet" for 63 NYSE trading days (about three months, whatever the version trades: an equity version's forward minimum, while a crypto version's minimum is 63 calendar days) after its last judged day, so stopping the book that struggles never clears the version at once.

AnswerReason codeWhen
Not startedNOT_INCUBATINGNo live book has run this version yet
Not startedNO_EXPECTATIONIt runs forward, but no run of this version can draw its range yet
Not startedINCUBATION_TOO_SHORTFewer than 63 recorded forward trading days or fewer than 30 trades closed on them
NoBELOW_THE_1_PERCENT_LINEIts trades fell below the 1% line of their range on a recorded day with at least 30 trades on the line, in any record
NoSLIPPAGE_PAST_TOLERANCEIts entry and exit fills slipped past the tolerance beyond their own noise (at a review, the one-sided lower bound of the mean is past it), measured on at least 20 entry fills over 20 days of fills
Not yetOUTSIDE_THE_RANGELong enough, but outside the 5 to 95% range on the newest recorded day (better than tested is still not as tested)
Not yetA_RECORD_OUTSIDE_THE_RANGEIts longest record is inside, but another book running it is outside its range, or one stopped while outside within the last 63 NYSE trading days
Not yetSLIPPAGE_UNDECIDEDInside the range, and its fills slipped past the tolerance on average, but they cannot tell that from the tolerance yet
Not yetSLIPPAGE_UNMEASUREDInside the range, but the slippage is unmeasured or rests on fewer than 20 entry fills or 20 days of fills
YesINSIDE_THE_RANGEAt least 63 recorded days and 30 trades, inside the 5 to 95% range on the newest of them in every record, never below the 1% line, and the fills within the tolerance

A "No" on a frozen version is permanent, like any "No", and it is dated by when the breach was first judged. Field-tested then follows from the existing rules: a Validated version whose question 8 answers yes. Nobody sets it, not you, not an agent. A live book running before its strategy is validated still builds the record. A book you stop or delete ends its incubation.

The forward route: Forward-tested. A frozen version whose sealed months were seen (you chose to see the whole history, so no sealed exam of it can count) earns its proof here instead. Only the days after its freeze count for it. A book counts from the first whole UTC day after it was bound, so a book counts for this route when that day is on or after the first whole day after the freeze: a book bound later than the freeze counts, and so does one bound earlier on the freeze's own UTC day (its counted days still begin the day after the freeze). A book bound on an earlier day is left out whole. It still counts for question 8 itself, so a breach in it still fails the version. When questions 1 to 6 are answered yes and question 8 answers yes on those books alone, with the same minimum of 63 recorded days and 30 trades and the same range and slippage rules, the version is Forward-tested. It is never called Validated, it carries the line "The sealed months were seen, so its proof is the forward record alone." (its kept line once the seal rolls past those months), and it opens nothing Promising does not. A signals-only book builds the days and trades, but question 8's yes also needs measured fills, which only a paper (or real) account gives; an agent can start the signals-only book, and a person moves it to paper. Once earned, the label is kept when the seal later rolls past the months you saw; the version's own forward record (out of range, a breach, a restated record) still takes it away (The scorecard).

Slippage against the assumed

Execution is measured on the real fills of the book's entry and exit orders, each against the price the backtest booked that leg at, in basis points, adverse positive (a buy above it, a sell below it), weighted by notional. An entry is measured against its arrival price (the price the backtest entered at). An exit is measured against the price the backtest exited at before its own slippage: the close, the stop level, or the open when a stop gapped through (the gap is the backtest's own price, not slippage), and a next-open exit against that open. Entries and exits are compared with the slippage per side the version's template assumes, with one tolerance: within the assumptions means at most 1.5 times the assumed, and at least 1 basis point above it. It is judged once 20 entry fills over 20 days of fills are measured (their exits are measured with them), so a verdict rests on at least 20 trades and 20 market days: ten round trips, or a busy week, are never enough. A flatten-and-reset close is your action, not the strategy's exit, so it is left out. A signals-only book places no order, so it cannot measure slippage: run the version on paper to answer question 8.

An order that could only go out later. A backtest that fills at the decision bar's close cannot be copied exactly by a stock: the price feed stores a bar 31 minutes after it closes, so the order goes out then. Decided during the session (an intraday bar), it goes out at once, 31 minutes after the close: the fill is measured against the price then, the open of the 30-minute bar the order went out in (the 14:30 bar for a bar that closed at 14:00). Decided after the session closed (a daily bar, or the session's last bar), it goes out at the next open (a market-on-open order) and is measured against that open. Either way the move from the close to that price is a timing difference the fill mode implies, not an execution cost: the tab shows it apart as the fill mode's timing cost and it is never judged against the assumed slippage. Any delay after that moment is an execution cost and is never excused, and crypto, stored as it closes, never waits.

Past the tolerance takes evidence. A mean past the tolerance is a "No" only when the fills' own spread says it is not noise: the one-sided lower bound of the mean, computed from the fills themselves, must be past the tolerance. The fills of one day count as one observation, because they share that day's market (a gap moves every fill of the morning), so the bound rests on the number of days with fills. A mean past the tolerance that the fills cannot yet tell apart is Not yet (SLIPPAGE_UNDECIDED), never "No": a "No" on a frozen version is permanent, and more fills settle it.

Looked at every day, judged at reviews. The verdict is read again at every daily check, and a bound re-read every day would sooner or later cross the tolerance by chance alone (about one book in three over six months of fills slipping exactly at the tolerance). So "past" is tested only at reviews: the first 20, 40, 80, 160 … days of fills, each on the fills of exactly those days, at a level that rises with each review (98.5%, 99.25%, …). Between two reviews the newest one's test stands. However long a book runs, one whose fills slip no more than the tolerance reads "past" with at most a 5% chance over all its reviews; one slipping twice the tolerance is caught within six months of daily fills almost always. The incubation tab names the review a verdict rests on.

A book that sizes by grade

A book that sizes trades by grade is reviewed at the end of every month, on every trade closed since incubation began. For each grade the tab shows the trades, the mean R and its interval. A grade judged with at least 10 trades that is sized at a higher risk must earn at least the mean R of the grade below it. If the order is reversed two months in a row, the book automatically stops sizing any grade above its flat risk. Each grade is read exactly as the engine sizes it, and only one sized above the flat risk is lowered to it: a grade sized at or below it keeps its own size, so this only ever reduces risk. It is recorded. Only you can restore sizing by grade, from the Incubation tab with a typed confirmation, once the newest monthly review of the book finds the order holding again (after a configuration change, the new incubation's review). Agents and API keys cannot restore it.

For agents

The verb read_incubation reads everything the tab shows: the rules with their thresholds, the units, the state, the progress (with the days it counted), the cone, the live line judged day by day and the fills line, the triggers of each line and what they did, each slot, the slippage and the grade review. It is read-only.

  • Native tool: read_incubation
  • MCP: research.read_incubation
  • CLI: ss portfolio incubation <portfolio_id>
  • REST: GET /api/v3/live/{portfolio_id}/incubation

Question 8 and the label are on the version's scorecard (get_scorecard), with the reason code and a link to the incubation behind the answer.