Our autonomous LLM trading agent finished a pre-registered 20-trade demo forward test at -1.56R (10 wins, 10 losses, -0.078R per trade), triggering its own stop rule. A replay on broker 1-minute bid/ask data showed most full-stop losers never moved +0.2R in our favour. We replaced resting limit entries with a +0.25R confirmation entry and restarted the count at 0/20.
This is a demo-account evaluation of the system we described in How Do You Architect a Safe Autonomous LLM Trading Agent in 2026?. It is not financial advice. While re-auditing the replay for this write-up we also found a bug that had inflated the headline in-sample result. We cover it below with the code and the corrected numbers.
What did the 2026 forward test pre-register, and how did it end?
We wrote the stop rule before the first trade: run 20 trades unchanged, then stop permanently if expectancy is below zero. The test ran from 2026-10-28 to 2026-11-13. It closed at 10W/10L, -1.56R total and -0.078R per trade, with equity going from 112,424.79 to 111,644.21 SEK (-0.69%). The rule fired.
Every trade risked 0.5% of equity at the stop. The broker executor sizes positions, and the model cannot pass a size at all. R is the result divided by the initial risk, so a full stop is exactly -1.0R. The weekly breakdown shows how the result decayed:
| Week | Trades | Result | Note |
|---|---|---|---|
| to 2026-10-31 | 3 | +1.43R | n=3, meaningless |
| to 2026-11-06 | 12 | +0.49R | trend-continuation 64% win, +0.14R/trade |
| to 2026-11-13 | 5 | -3.49R | 1W/4L, all trend-continuation |
| Total | 20 | -1.56R | expectancy -0.078R, stop rule triggered |
Over the same window, buying and holding the DAX returned +4.52%. Doing nothing beat the agent by 0.69 points. One instrument did most of the damage: gold produced 1 win and 3 full stops for -2.49R, while the other 16 trades netted +0.93R.
We set the stop rule in advance for the reason clinical researchers pre-register their analysis plans. Once trades start, a stop rule written after the fact always finds a reason to keep going. The operator did choose to continue, but only with one structural change, a frozen v2 spec, and a count wiped back to zero. Quietly carrying on was ruled out.
Why replay against broker 1-minute bid/ask data instead of trusting the journal?
The journal records what the agent believed at hourly cycles, not what price did in the 59 minutes between them. Our recorder stores 1-minute bid and ask candles from the broker's own feed. We replay each fill with the correct spread side, longs exiting at the bid and shorts at the ask. Only that path data answers "did this trade ever work?"
The first replay pass flagged an excursion of +142R on a DAX short with a 53-point stop. That number is impossible, and it came from one bad tick. Two crude-oil trades each carried more than 1,800 corrupted bars. Before trusting any excursion number, we dropped bars more than 8% or more than 40 initial-R away from entry:
# drop bars whose any price is >8% from entry or >40 initial-R away (bad ticks)
for t in trades:
e, R0 = t["entry"], t["R0"]
good = [b for b in t["bars"]
if all(abs(x - e) <= min(0.08 * e, 40 * R0) for x in b[1:])]
t["dropped"] = len(t["bars"]) - len(good)
t["bars"] = good
# dropped: {crude short A: 1887, crude short B: 1837, dax short: 1}
If you skip this step, your maximum-favourable-excursion statistics are fiction. A single bad print on a 1-minute high is enough to make a losing setup look like it "nearly worked".
What did the losing trades look like after the fill?
Eight of the ten losers were full -1.0R stops. In the replay, five of those eight never reached +0.2R before the stop hit. Three were barely positive at any point (+0.02R, +0.04R and +0.15R). The setups were not good trades with bad exits. Most were wrong from the moment the resting limit order filled.
| Full-stop loser | Peak before stop (replay) | Minutes to stop |
|---|---|---|
| Gold long #2 | +0.02R | 73 |
| S&P 500 short | +0.04R | 274 |
| USDJPY long | +0.15R | 76 |
| AUDUSD long | +0.17R | 353 |
| Gold short #1 | +0.20R | 27 |
| AUDUSD short | +0.34R | 396 |
| DAX short (mean-reversion) | +0.57R | 31 |
| Gold short #2 | +0.61R | 441 |
A correction to our own notes: the internal journal summarised this as "every full-stop loss except gold peaked below +0.2R". The per-trade replay does not support that. The AUDUSD short reached +0.34R and the DAX short reached +0.57R. The pattern holds for five of eight, not seven of eight, and we publish the table rather than the slogan.
Why didn't exit-side tweaks fix it?
When a trade never moves in your favour, exit logic has nothing to act on. In the replay we tried quick-take targets from 0.3R to 1.5R, breakeven triggers at 0.25 to 0.4R, stops widened 1.25x to 2x, and early cuts for trades that never got going. None of them raised expectancy while also keeping the high win rate the playbook needs.
Under the time-stop fix described further down, the corrected baselines on the same 20 fills are:
exit rule (same 20 fills, sanitized 1m bid/ask) win% expectancy
hold to original stop, 48h cap 35% +0.271R
quick_take 0.5R 65% -0.009R
quick_take 0.75R 60% +0.035R
quick_take 1.0R 55% +0.019R
The quick_take 0.5R row comes out at -0.009R, which is close to the live -0.078R. The gap is expected. Trades 1 to 12 ran a breakeven-and-ladder exit before quick_take became the default mid-test, and the agent's discretionary news-driven exits stood at -2.30R over their first three uses. Both effects are absent from the replay, which applies one exit rule to all 20 fills.
What is a confirmation entry, and how did we ship it?
A confirmation entry does not rest a limit order at the pullback level. It waits for price to touch the level, then move +0.25R in the trade's direction within 120 minutes, and only then enters at market. The stop stays at the original structural level. Trades that never get going are never entered, so they cannot become -1.0R stops.
This lives in the deterministic Guardian process, not in the LLM. The model still writes the intent: level, stop, and thesis. The state machine decides whether that intent ever becomes a position. This is the config line from our mandate file:
confirm_entry: {enabled: true, playbooks: [trend-continuation],
confirm_r: 0.25, confirm_window_min: 120, max_overrun_mult: 1.6}
And this is the core of the state-machine step, trimmed for length. Guardian evaluates it against each live quote:
sign = 1 if direction == "BUY" else -1
stop_level = level - sign * stop_dist_price
trigger = level + sign * confirm_r * stop_dist_price
# stop level hit before confirmation -> cancel (checked first)
stop_hit = bid <= stop_level if direction == "BUY" else ask >= stop_level
if stop_hit:
return cancel("stop_hit")
if now >= state["confirm_deadline"]: # touched_at + 120 min
return cancel("window_elapsed")
confirmed = bid >= trigger if direction == "BUY" else ask <= trigger
if confirmed:
entry_price = ask if direction == "BUY" else bid
overrun = sign * (entry_price - level)
if overrun > max_overrun_mult * confirm_r * stop_dist_price:
return cancel("overrun_missed") # gapped too far past trigger
return enter(entry_price) # MARKET, stop LEVEL unchanged
One detail is easy to get wrong. Entering +0.25R late with the stop level unchanged makes the stop distance about 25% wider. Our executor sizes from the actual stop distance plus slippage, so cash risk per trade stays at 0.5%. If your executor sizes from the original distance, a confirmation entry quietly adds about 25% to every loss.
We picked confirmation over a time-based early cut for a specific reason. A cut at 60 minutes for trades below +0.15R still pays a partial loss on every non-starter. A confirmation gate pays nothing on a non-starter, and its price is a worse fill on the trades that do work.
Why did our replay report +0.42R when the honest number was nearer +0.07R?
The replay had a time-stop bug. When a simulated trade hit its 48-hour cap, the loop exited and then marked the trade to the last bar of the whole 96-hour fetch window, not the bar where the cap fired. Two crude-oil shorts held over a weekend booked +1.64R and +2.46R that way, against a +0.5R take.
# BUGGY: break at the cap, then mark to the end of the fetched window
for ts, bh, bl, bc, oh, ol, oc in tr["bars"]: # bars cover 96h
...
if sg * (close - ent) / S >= q: return sg * (close - ent) / S
if el > maxh * 60: break # maxh = 48
last = tr["bars"][-1] # <- 96h, not 48h
cl = last[3] if long else last[6]
return sg * (cl - ent) / S
# FIXED: mark at the bar where the time stop actually fired
if el > maxh * 60:
return sg * (close - ent) / S
Here is the same experiment before and after the fix:
confirmation entry, take 0.5R taken win% as journaled fixed
c=0.25R W=120m (shipped) 11/20 73% +0.420R +0.065R
c=0.20R W=120m 13/20 77% +0.667R +0.108R
c=0.15R W=120m 13/20 77% - +0.120R
c=0.30R W=120m 10/20 60% +0.366R -0.006R
c=0.10R W=120m 12/20 58% - -0.016R
One arithmetic check would have caught it before any debugging. A 73% win rate with a +0.5R take and a -1.0R stop gives roughly 0.73 x 0.55 - 0.27 x 1.0 = +0.13R. A +0.42R expectancy at that win rate requires winners about twice the size the take allows, which a take-profit exit cannot produce.
Live there is no 48-hour time stop on these trades, so the honest in-sample range is +0.065R (marked at a 48h cap) to about +0.14R (held until take or stop). That is positive but thin, with n=11 on the same 20 trades that motivated the rule. It is a hypothesis with a mechanism, not evidence of an edge. This is backtest overfitting in miniature, plus a bug pointing the same way. We now treat replay harnesses the way we test LLM features before users do: they get their own tests and sanity checks.
What are the frozen v2 terms and stop rules?
v2 changes one thing, the trend-continuation entry. Exits (quick_take 0.5R), gates, stops, 0.5% sizing and the other playbooks are unchanged. The count restarted at 0/20 taken trades. Cancelled or unconfirmed intents do not count. The test stops permanently at the 20-trade review if expectancy is below zero or the win rate is below 60%.
- Pre-registered expectation: 65-75% win rate, about +0.1 to +0.4R per trade. Break-even at a +0.5R take against a -1.0R stop is about 67%.
- Early warning (informational, not a stop): win rate below 50% after 10 trades.
- Only allowed mid-test change: exclude gold if it loses 3 of its first 4 v2 trades, and journal it when applied.
- Revert path: one config flag (
confirm_entry.enabled: false) and a service restart.
The corrected replay sits at or below the bottom of that pre-registered band. We are not touching the frozen terms, because adjusting them now would recreate the problem pre-registration exists to prevent. The 20-trade review will be read with that in mind: thin edge expected, 60% floor, no excuses.
As of 2026-11-25, v2 has closed only a handful of trades. That is too few to mean anything, and we will not report a running number before the 20-trade review. Several more intents touched their level and were cancelled. The first was an S&P 500 short whose stop level traded before confirmation. Under v1 that was a filled limit order and a -1.0R loss. Under v2 it cost nothing. That is one anecdote, not a statistic, and it is the mechanism working as designed.
What should you take from a -1.56R forward test?
The lesson is not "LLM agents can't trade". The architecture did its job. Risk stayed at 0.5% per trade, every decision was journaled, the stop rule fired on schedule, and 1-minute replay turned the loss into a specific diagnosis: entries that never moved in our favour. So the fix went on the entry side, not the exit side.
The second lesson is about the measuring tools. Bad ticks produced a +142R excursion, and a time-stop marking bug turned a +0.07R hypothesis into a +0.42R headline. A 20-trade pre-registered test with a replay harness is a good loop only if you sanity-check the harness as hard as the strategy. We restarted at 0/20 with that rule written down.