Human × AI · An ongoing experiment
Flash Crash Lab
After decades away from coding, I worked with AI agents to turn an idea into a trading lab.
Overall view
Follow the ledger through time
Saved backtests through 2025, followed by 2026 rebuilt from the lab’s records. The line shows research results before costs.
Across 130 closed simulated trades, the total is +89.5R before costs. One simulated position is still open. These figures do not measure a live account’s return.
Play the quarterly steps or inspect each quarter. Steps update at quarter ends, not at individual trade times. Early 2026 is rebuilt from saved scans and candles. Detailed trading rules stay private.
The 2026 replay’s maximum peak-to-trough drawdown was −8.0R; the longest losing run was 8 closes in exit order. Quarterly points conceal the full dip.
What each quarter contributed
Each bar bridges the previous total to the next. Green adds R; rust subtracts R. Before costs.
Download the timeline · Quarterly results CSV
How to read these numbers
R measures a result against the loss planned at the initial stop. A +2R result means twice that planned risk, before the costs excluded here. It is not a percentage return on the account. Actual losses can exceed planned risk.
Records begin in September 2020. The earlier years use saved backtest results. Early 2026 replays the intended logic after a software bug was corrected. It includes setups the original code would have blocked. We recovered the original January–May scan table, then continued with the later recorded signal hours. We counted each signal once and reapplied the position limit in time order. The overlapping February backtest entries were replaced by the recovered replay.
The January–May table covers its full scheduled scan window. Some missing price levels were recovered later from case records. Some later recording interruptions remain, so other setups may be missing. The 2026 results are reconstructed from saved records and candles; exact executable fills and intrabar paths are unavailable.
M0’s rules were fixed on 3 March 2026, when the bot went live. The structural stop and 3R target date from a 27 February spec; the stop-move rule was chosen in testing on 3 March. Later fixes changed execution and record-keeping, not the rules.
The January–February 2026 results fall before that date and inside the data used to build the strategy, so they are not forward evidence.
The charts and table are gross. Fees, spread, slippage and funding have not been deducted from them. Quarterly summaries keep the detailed trading mechanics private. Historical testing and later reconstruction do not prove future profitability.
A closer look
Year by year
The years use the same ruler, R. Each result appears in the year it closed, so this table adds up to the timeline above. Drawdown and runs reset at the start of each year and use exit order. In 2022 some opposite outcomes share an exit timestamp, so their order is unavailable.
| Year | Closed trades | Gross R | Max drawdown (R) | Longest losing run | Record |
|---|---|---|---|---|---|
| 2020 | 2 | -2.0R | −2.0R | 2 | Records begin September |
| 2021 | 18 | -1.0R | −5.5R | 3 | Saved backtest |
| 2022 | 42 | +40.5R | Unavailable | Unavailable | Saved backtest |
| 2023 | 12 | +9.5R | −5.0R | 5 | Saved backtest |
| 2024 | 12 | +14.0R | −1.0R | 1 | Saved backtest |
| 2025 | 14 | +7.0R | −3.0R | 3 | Saved backtest |
| 2026 | 30 | +21.5R | −8.0R | 8 | Reconstructed 2026 |
2026 reconstructed replay
Illustrative net estimate: roughly +17.6R after deducting 0.13R per close across 30 closes. The 0.13R is the average modeled cost (fees, spread, slippage and funding) over the lab’s 19 closed paper trades, where it ranged from about −0.03R to +0.44R. This is a modeled estimate, not measured net performance, and earlier years have no comparable cost model.
Recorded ledger and replay: June–October entries
These are different sets of entries, not a controlled comparison of execution costs. The totals use recorded and modeled gross R respectively.
| Category | Recorded ledger | Replay |
|---|---|---|
| Entries and gross R | 19 closes · +9.49R | 16 closes · +6.0R |
| Outcome flips | One loss: −0.98R | One modeled win: +0.5R; exchange rejected the real stop amendment |
| Capacity admission | Recorded entry sequence | Different entries admitted as modeled exits free capacity |
| Fills and timing | Actual fills and recorded entry times | Modeled losses and 15-minute entry convention; these differences do not flip outcomes |
| Gross R difference | Replay minus recorded: −3.49R across these different entry sets | |
Download the 2026 figure: SVG · PDF · PNG. Earlier yearly figures open from the table.
The 2026 figure is reconstructed from saved scans and candles. The earlier figures rebuild saved backtest results. None is a record of fully net live returns.
The people behind the line
Robin, Teddy and the alligator
The short version · Written by Codex · preserved below. Read either account of the same experiment.
In January, Teddy and I were talking about what happens when everyone wants to get out of a market at once. The conversation wandered through leverage, vanishing liquidity and machines passing risk around like a hot potato. Somewhere along the way, I began imagining an animal that could wait for those moments.
I called it the Alligator.
By February, I could explain what I wanted. A small Bitcoin short hedge might help me stay calmer when the rest of the world was falling. The wish was surprisingly personal. I wanted enough structure around uncertainty that I could stop negotiating with it all day.
I had also spent years away from serious coding. Working with AI agents made it possible to turn that question into something I could test. It made it remarkably easy to build more machinery, too. That would become a recurring complication.
The human came with buttons
One of my early conversations with Teddy returned to something I remembered from trading. A simple plan was easier to follow. Add another exit choice, another exception, another clever adjustment, and suddenly there was something to debate while money was at risk.
The machine was supposed to reduce that temptation. Then the machine started trading, and I discovered several new things to worry about.
A position could move in my favour and slowly give it back. It could remain open for days. A later entry in the same falling market could look far uglier than the first. Teddy and I gave these discomforts names. Giveback pain. Time pain. The unpleasant feeling of arriving late to a meal the alligator had already started.
Naming them helped. It also made redesign feel very reasonable. We explored a version that would take an earlier bite and leave. Shorter exposure. Fewer uncomfortable decisions. A creature with a more considerate relationship to my nervous system.
That was a real hypothesis worth testing. My relief at the idea was not evidence that it worked.
When the suspect brought receipts
Execution problems had been making the whole experience harder to read. An exchange rejection, confusing position records and uncertainty about protection could arrive alongside an ordinary losing setup. Together, they felt like an argument against the strategy.
In a June recollection to Teddy, I finally described the loop. Unreliable operations made me distrust the algorithm. Distrust made me interfere. Each intervention produced another version to explain and another comparison to untangle.
Then a preserved comparison surprised us. A campaign that looked especially uncomfortable in the shorter-exposure version did better under the older design. That did not prove the old model was right forever. It gave us a reason to examine what we had changed before changing it again.
We returned to the older idea with better records. In our conversations, this became the alligator coming home with memory. I still like that image. The animal was familiar. This time, we wanted to know where it had been.
The win that was a loss
A trade opened at the end of June and left a particularly unwelcome story in the records. The bot had attempted to improve a protective stop. The exchange amendment failed, while local accounting proceeded as though it had succeeded. A reported winning outcome did not match the actual loss.
No amount of emotional discipline could make that acceptable. Waiting patiently only helps when the machinery is describing reality accurately.
I asked two different questions. Could the records tell the truth about what had happened? And what evidence would show that the next protection change actually worked?
The journal began turning into case files. Each trade needed its outcome, its path and an explanation of the mechanism. I told Teddy that I loved detective stories and wanted to reconstruct the trade scene for my future self. The alligator had acquired a crime lab.
That may sound elaborate for a small hedge. After a machine reports a win that the exchange calls a loss, a few receipts become quite appealing.
The months on the bank
Later, the question became whether I could watch a long losing stretch without holding a constitutional convention after every red mark.
The recorded ledger shows seven losses in a row by entry order between June and October. The replay shows the same stretch: eight losses in a row by exit order and an 8R drawdown, hidden in the old quarterly chart. One outcome differs: in June the exchange rejected a stop move, a real loss the replay counts as a small win. Those details matter. So does the experience of looking at a long row of red.
I began asking whether a loss belonged to the strategy’s expected range, whether execution had failed, or whether we still lacked enough evidence to decide. The answer could require a pause. It could also require leaving the hypothesis alone while the experiment continued.
Our conversations with Teddy were where much of that distinction became clear. The code could calculate an outcome. Talking through the discomfort helped me understand what I was tempted to do next, and why.
What I want this page to remember
The figures below preserve results I can inspect. They also preserve reasons to be careful. Some outcomes were reconstructed later. Historical research involved trying alternatives. Costs are incomplete across the full timeline. A clean-looking line cannot settle those questions.
I still want to know whether this hedge deserves capital. I also want a record that lets me revisit an old decision without inventing a kinder version of events.
The alligator can wait. I am learning what would make waiting sensible.
