AllPath logo

Blog

Trading Agent · notes from the build

Blog · · 6 min read

The Chips Fell. Here's What Our Trading Agent Did.

A nearly fully invested paper account met a semiconductor selloff. Here's what the exits changed, what broke, and what we fixed.

Paper trading. Figures through the November 20, 2026 close. Not financial advice.

A stop looks reassuring in a strategy file. A falling market is where you find out what it actually does.

On October 28, our public paper account held $100,653, with just $960 in cash. Roughly half the portfolio was in four chip stocks: NVDA, TSM, MU, and AMD. The rest was in large-cap tech. We had left ourselves very little room for a bad week.

The plan for those chip trades was simple: buy dips into a base, trim into strength, and get out if the base broke.

Then the bases broke.

By November 20, 17 trading days later, the Philadelphia Semiconductor Index was down 28.0% from the October 28 close. NVDA had fallen 41.7%. Our paper account was down 11.2%, to $89,389. The S&P 500 fell 10.8% over the same stretch, so the account finished slightly behind that benchmark.

For a portfolio that started almost fully invested and half in chips, the exits mattered. So did the mistakes. Both belong in the story.

Line chart: the paper account, the S&P 500, the Philadelphia Semiconductor Index (SOX) and NVDA, each indexed to 100 at the October 28, 2026 close, through the November 20, 2026 close. The account ends down 11.2%, the S&P 500 down 10.8%, SOX down 28.0% and NVDA down 41.7%.507090100Oct 28Nov 5Nov 20Account: −11.2%S&P 500: −10.8%SOX: −28.0%NVDA: −41.7%NVDA −41.7%SOX −28.0%Account −11.2%S&P 500 −10.8%
Account
−11.2%
S&P 500
−10.8%
SOX
−28.0%
The account started nearly fully invested. As positions exited, its exposure changed. All series are indexed to 100 at the October 28 close and run through the November 20, 2026 close. This is a paper account; its values are the after-close broker snapshots published to the live journal, not an audited NAV.

What happens when a rule fires

In AllPath, the owner writes a strategy in a YAML file: the trade idea, the target position size, and the conditions for buying or selling. One exit rule might say: if the price falls below $205, sell the whole position.

A rule checker, which we call the sentinel, watches those conditions during market hours. When a condition is met, the agent reviews the chart and the trade thesis, then presents an order card with its recommendation. The owner confirms the order on the web or in Telegram.

The sequence matters: a rule triggers, the agent explains, and the owner confirms. The trigger itself is not a completed sale, and the stop level is not a guaranteed fill price.

  1. Step 1

    Rule triggered

    A condition in the strategy file is met.

  2. Step 2

    Agent review

    The agent reads the chart and the thesis.

  3. Step 3

    Owner confirmation

    The owner confirms on the order card.

  4. Step 4

    Fill recorded

    The order fills and lands in the journal.

Demo, sample data

An order card from the keyless demo, built on sample data. It shows a buy rule that triggered for NVDA, the trigger condition and price, the agent's recommendation with a short analysis, and Approve and Reject buttons.
A triggered rule produces a recommendation for the owner to confirm. It is not a fill. The card shown is from the keyless demo: sample data, not an order from the account in this post.

The exits bought us breathing room

NVDA first exited on October 30 at $204.65, close to its $205 stop. By November 20, it closed at $125.53. TSM and MU sold on November 10. META and GOOGL had also exited; AMD followed on November 20.

What actually filled: seven sales in the paper account, with each strategy's stop level, the fill price and the stock's November 20 close.
SoldTickerStopFillNov 20 close
Oct 29GOOGL$308$283.02$265.29
Oct 30NVDA$205$204.65$125.53
Oct 30META$615$615.36$560.84
Nov 10TSM$405$398.69$319.14
Nov 10MU$905$738.83$594.51
Nov 12NVDA$205$156.40$125.53
Nov 20AMD$485$458.66$424.39

Stop = the strategy's stated threshold. Fill = the paper execution price. The second NVDA row closes the re-entry described below; it is not evidence that an active $205 stop protected those new shares.

GOOGL is a useful reminder of the gap between a line on a chart and a trade. It opened below its stop after earnings, and the sale filled well below $308.

By the November 12 close, every chip position except AMD was gone, and the account was about 68% cash. Over the next six sessions, the chip index fell another 20.0% and NVDA another 24.5%. The account fell 4.0%.

On November 20 alone, the chip index lost 10.7% and NVDA lost 14.0%. The account lost 1.6%, and AMD, its last chip holding, was sold a few minutes after the open. Holding less of what was falling made a difference. It did not make the account immune.

We sold NVDA. Then we bought it back. Seven times.

The October 30 exit was followed by a much less tidy chapter. The dip-buy rules in the same strategy were still active. Between November 2 and November 10, the account bought NVDA seven more times, putting in $3,000 each time.

The first four fills came between $205.39 and $208.34, just above the $205 stop line. The last three came at $191.57, $194.10, and $171.67, already below it.

The exit rule was configured to fire once. It had done that on October 30. It did not re-arm to cover the new shares. The buy rules, meanwhile, were still happy to find another dip.

The rebuilt position finally sold on November 12 at $156.40. About $21,000 went in; about $16,640 came out. That round trip cost roughly $4,360.

NVDA fills in order: the first exit on October 30, seven purchases from November 2 to November 10, and the final exit on November 12, each with its price and whether it was above or below the $205 stop line.
DateFillPricevs $205
Oct 30Sold all, 80.76 sh$204.65below
Nov 2Bought $3,000$208.27above
Nov 2Bought $3,000$208.31above
Nov 3Bought $3,000$208.34above
Nov 4Bought $3,000$205.39above
Nov 5Bought $3,000$191.57below
Nov 6Bought $3,000$194.10below
Nov 10Bought $3,000$171.67below
Nov 12Sold all, 106.40 sh$156.40below
After the first exit, seven dip-buy fills rebuilt the position while the one-shot stop remained spent. Fills from the paper account's trade log, October 30 to November 12, 2026.

We had written a rule for leaving the trade, but left the door open for coming straight back in.

A fired rule is not a finished exit

MU and TSM exposed the other problem. Their stops first fired on October 15, but no sale followed. Because those rules were one-shot, they stayed silent after that. Both positions entered November 5 without a working exit rule.

That day, the semiconductor index fell 12.2%, and the account hit its low for the period: $87,503, down 13.1% from October 28. MU eventually sold on November 10 at $738.83, about 18% below its $905 stop line.

A rule had triggered. The positions were still there. That distinction turned out to be expensive.

What we changed

Since November 10, the strategy files have used stops that re-arm: if a stop fires without a sale, it can fire again. We also switched off the buy rules on every failed chip trade.

Before November 10 · YAML

- id: stop-loss
  condition: price < 205
  action: sell all
  state: armed

- id: dip-buy-2
  condition: position_weight < 0.20 and price < 213
  action: buy $3000
  state: armed
  rearm: 90

Since November 10 · YAML

- id: stop-loss
  condition: position_weight > 0 and price < 205
  action: sell all
  state: armed
  rearm: 120
  max_fires_per_day: 1

- id: dip-buy-2
  condition: position_weight < 0.20 and price < 213
  action: buy $3000
  state: disabled
  rearm: 90
Two rules from the NVDA strategy file, before and since November 10, 2026, abridged to the fields that matter here. The stop gained rearm and now applies only while shares are held; the buy rule is disabled.

Those changes address the two failures in this account: an exit signal that could be used up without an exit, and buy rules that kept rebuilding a broken trade.

They do not guarantee a fill at the stop price. They also do not remove the owner's confirmation step. They make the intended behavior clearer and give an uncompleted exit another chance to surface.

Where the account stands

The journal entry for November 20, the figure behind the 11.2%, shows $89,389. A separate after-close broker snapshot that day showed $89,466, with about $57,500 of it in cash, roughly 64% of the portfolio. The remaining holdings were AAPL, MSFT, and TSLA.

The chip strategies are still on file, but their buy rules are disabled. Re-entry requires a fresh, reviewed thesis. A lower price, on its own, is not one.

This stretch left us with a smaller account and a more precise understanding of our own rules. The public journal lets readers inspect the fills, including the ones we would have preferred to get right the first time.

Try the workflow yourself

AllPath Trading Agent is open source and self-hosted. The demo uses sample data and simulated fills. You do not need a broker account or an LLM key.

Shell
git clone https://github.com/dukesky/allpath-trading-agent
cd allpath-trading-agent
uv run allpath-trade demo

Then open http://localhost:8790 and sign in with demo.

Start with a strategy, follow a rule into an order card, and see where your confirmation fits. The code is here: github.com/dukesky/allpath-trading-agent.

See how a strategy becomes a recommendation, and where you stay in control.

This is a paper account, with simulated execution and after-close broker snapshots rather than an audited NAV. A few weeks of results do not establish how the system will perform in future markets. This post is not financial advice.

← All posts