Pattern Desk (Built with AI): a trading desk that shows its working
About 10 minutes to read
Pattern Desk is a live market board I designed and built alone, with AI agents doing the daily research. It reads what index traders watch (positioning, flows, volatility, breadth, trend and macro) for India, the UK and the USA. For each market it gives a stance, three paths with closing triggers, a signal score and a record of every call it has made. A Charts tab draws live candles for nine instruments, finds patterns on five timeframes and backtests them. It is information, not trade advice: I decide and I trade.
| Fact | Detail |
|---|---|
| Role | Designer and builder, alone: brief, research, information design, writing rules, data model, front-end code, agent prompts, testing |
| Collaborator | Claude, as a pair: it wrote code and ran research to my design, and I reviewed every change |
| Timeline | 19 October 2026 to late November 2026, about six weeks, in seven iterations |
| Platform | A Claude Dashboard artifact: a web page with a data store, live queries and in-browser calculations |
| Agents | Two scheduled agents: a weekday refresh and a Sunday reset, both run on demand |
| Data | Twelve Data and Alpha Vantage for quotes, rates and history; Yahoo Finance bars through Firecrawl for the charts; web research for positioning, flows and news |
| Scope | 3 focus markets, 9 charted instruments, 5 timeframes, 30 tracked signals, 41 datasets (15 written by the agents, 26 live queries) |
| Status | Live and in use. Private. |
The brief
I wanted one place to read the market each morning. The first brief was a seven-day card strip with today in the middle: three days behind me, three days ahead. Past days and coming days together should make a pattern. If I saw a big move coming in the next one to three sessions, I could take a position in the strongest Indian indices. The same board should also be a news portal: only the key facts, and why they happened.
The brief also asked for something no tool can give: to predict the market "with almost all confidence". Once a pattern is obvious, the market trades it away. So the first design decision was honesty. The board puts odds on paths and sets a closing level that must happen before a path counts. It never promises an outcome.
There was a second problem, and it showed itself later. Index moves over one to three days depend mostly on sentiment and positioning, not on company results. A board built on news and fundamentals reads the story. A trader needs to read the crowd.

Seven iterations, one live board
The board was live from the first day. Every iteration changed what the product was, not only how it looked, and each one came from using it for real.
| Version | Date | What it was | What changed, and why |
|---|---|---|---|
| 1 | 19 Oct | A seven-day card strip with today in the middle, a driver chain, three paths with odds, a "big move" checklist, historical episodes that rhyme, and a decade view | The base. A dashboard stays put and keeps its past cards, so its calls can be scored. A chat widget scrolls away |
| 2 | Week 1 | Daily refresh by two scheduled agents, live quotes from Twelve Data and Alpha Vantage, the UK as a second market, a short side, and a weekly top 5 of setups worldwide | I trade both markets, and both directions. One weekly list beats a feed of ideas |
| 3 | Week 1 | Writing rules: Simplified Technical English at about 80%, and "one fact, one home" | The board was long and repeated itself. Reading load is the real cost of a daily tool |
| 4 | 26 Oct | An action board: a weighted signal board, a crowd flag, a score, stance rules, and paths with a closing trigger, a target and an exit | The board said short, and Nifty rose. The next section explains why |
| 5 | 27 Oct | Manual runs: the agents stop on a schedule and run when I ask | I read the board at my own times. A refresh I never read is a cost with no value |
| 6 | 3 Nov | Charts and a backtest: candle patterns, gaps, RSI divergence, Fibonacci, volume, the 9 and 21 EMA, and next-session guide lines on five timeframes | I asked the board to check its own predictions against history, signal by signal |
| 7 | 6 Nov | The USA as a third market, and live charts for the S&P 500, Nasdaq 100, gold, silver, Brent and Bitcoin | The S&P 500 fell 4.36% on 5 November. The US sets the tone for both of my other markets |

The day the board was wrong
On 26 October the board said to short Nifty, and the Indian market rose. A failed call is the most useful thing a forecasting tool can give you, so I took it apart before I changed anything.
The board had read the news, and the news was bad. It had not read the crowd. Foreign institutional investors (FIIs) held fewer than 15% of their index futures as longs (12.6% on 22 and 23 October), so almost everyone was already short. Breadth had washed out, the put-call ratio had jumped, and domestic funds were buying. That is the set-up for a short-covering rally, not for a fall.
So version 4 changed the question the board answers. It stopped asking "what is the story?" and asked "what are traders positioned for, and what would force them to move?"
- A signal board, in five groups. Positioning, flows, volatility, breadth and macro. Each signal has a value, a read (bullish, bearish or neutral), a weight from 1 to 3, the rule traders use to read it, a date and a source.
- A crowd flag. When FIIs hold less than 15% of their futures as longs, the crowd is short. The board then does not suggest an index short, unless the test is a close below the put wall or major support.
- A score anyone can check. Bullish weight minus bearish weight, over all weight, times 100. The board leans long at +25 or more and short at -25 or less. Between them, it says stand aside.
- Paths you can act on. Three paths per market, with odds that add up to 100. Each has a trigger written as a daily close ("Close above 22,850"), a target from the level map, and an exit.
- A record with a lesson. Every call is graded Hit or Miss when its sessions close. A miss carries one sentence on which signal would have warned.

Checking the board against history
In version 6 I asked a harder question: of all the patterns traders talk about, which ones actually work on these indices, and on which timeframe? The Charts tab now finds candle patterns (hammers, shooting stars, engulfing candles and more), open gaps, RSI divergence, Fibonacci bounces and rejections, volume spikes and EMA crosses on 15-minute, 1-hour, 4-hour, daily and weekly bars. Then it backtests each one: when it showed, did the next bar move the way it said?
The answer splits in two. A few signals show an edge on Nifty's daily bars: an evening star was right 82% of the time over 11 cases, and a volume spike on an up bar 67% over 12. Many others, such as the morning star and the hanging man, land at 50%, no better than a coin. The samples are small, so the table shows the count beside every rate and fades rows with fewer than 5 cases.

Agents that do the research, a page that does the maths
The board has two halves, and I split the work between them on purpose. The agents research and write. The page calculates and draws. Nothing an agent writes is a number it computed in its head.
Agents write the facts, the page does the maths
How one refresh moves from the sources to the board
Sources
Quote APIs
Twelve Data, Alpha Vantage
Web research
positioning, flows, news and levels
Bar data
Yahoo Finance, through Firecrawl
Agents
I ask
"refresh the board"
Weekday refresh
pre-open and close work, 3 markets
Sunday reset
grades setups, top 5, history, Monday
Data store
15 datasets, by agents
- brief and markets
- signals and paths
- levels and closes
- day cards
- scorecard and setups
- prices and voices
- calendar and history
- episodes and decade
One home per fact, each with date and source
Page
Desk
3 markets at a glance
Market pages
India, UK and USA
Charts
9 instruments, 5 timeframes, backtest
Calcs run in the browser
Live quotes and bars skip the agents and go straight to the page
Live quotes and bars go straight from the sources to the page
The agents only write facts to the store. Live quotes and chart bars go straight to the page, which does every calculation.
The agents. Two scheduled agents keep the board current. The weekday refresh knows four run types: a pre-open run, an India close run, and the UK and US close work that the next run picks up. The Sunday reset grades the week's setups, writes the new top 5, refreshes about 100 sessions of fund history and sets Monday's cards. Each agent's instructions are a long, standalone brief. I wrote them the way I write a design spec: what each dataset holds, column by column, the read rules for every signal, the stance rules, the writing rules and the report format.
Run on demand. After a week I switched the schedules off. Now "refresh the board" starts a run, with a short note on what it must catch up: the closes it missed over a weekend or a busy week, which calls to grade, and which day is Today. The board is fresh when I read it, and it costs nothing when I do not.
The page. Live tiles query Twelve Data directly. The Charts tab fetches 60 days of 15-minute bars and two years of daily bars, then builds the 1-hour, 4-hour and weekly bars in the browser. The trend rows, the score, the pattern finder, the backtest and the guide lines are all calculations on the page, so they are the same numbers every time anyone looks.

Limits, designed in. Free data plans have hard limits, and the instructions respect them. Alpha Vantage allows 25 calls a day, so the agent makes them one at a time and never retries after a limit error. Twelve Data allows 8 calls a minute, so the agent spaces them out. One morning six live tiles failed, and the cause was exactly this: the refresh and the page asked for the same quotes in the same minute, 15 calls against a limit of 8. Chart data costs about 2 Firecrawl credits per instrument, a cost I kept in view when I added each new instrument.
Key design decisions
1. Odds and triggers, never a promise
The board never says what will happen. It says what would have to happen first. Every path has a trigger written as a daily close, and every stance line ends with "Act only on a close ...". An intraday spike does not count. This turns a forecast into a test I can watch.

2. Read the crowd before the news
Positioning comes first on every market page, then flows, volatility, breadth and macro. Each signal row says the rule traders use to read it, in one or two sentences, so the board teaches as it reports. Some reads are contrarian on purpose: a very low put-call ratio is a warning, and a crowd that is all short is fuel for a rally.
3. A score with no black box
The score is one formula, shown on the page. The three trend rows (close against the 20-day and 50-day averages, and RSI 14) are calculated from the closes, not written by an agent. Anyone can check why the board leans the way it does, and argue with a single weight.

4. One fact, one home
Early versions said the same thing in four places: the brief, the day card, the signal and the path. I gave each kind of fact one home. Signals hold the indicator numbers. Prices hold Brent, the US 10-year yield, Fed odds, gold, silver and Bitcoin. Closes hold index closes. Day cards say what moved on that day only. Paths hold triggers, targets and exits. Voices hold opinions. A signal that needs the oil price points to it, so the number can never disagree with itself.
5. Plain words for a daily read
All board text follows ASD-STE100 Simplified Technical English at about 80%: sentences of 20 words or fewer, one idea each, active voice, no idioms. Market terms stay, because a trader needs them. I applied the same rule to the agents: the writing rules sit inside their instructions, so every refresh reads the same.
6. Honest about what it does not know
Every number carries its date and its source. When an agent cannot find a fresh number, it keeps the old one and marks it Stale. It never fills a gap with a guess. Stances, weights, odds and grades are labelled as judgment, and the board says on its face that it is information, not trade advice.

7. A record that learns
The scorecard is the part that makes the rest honest. Each market gets one call for the next three sessions. When those sessions close, the agent grades it, writes what the index did with the closes, and on a miss writes the lesson. Weekly setups have the same loop: an "Act if" test, a "Cancel if" test, dated progress lines, and a grade on Sunday. A board that grades itself can get better. A board that only predicts cannot.

8. Layers a trader can switch
The Charts tab is dense by nature, so each layer has its own switch: EMAs, patterns, gaps, Fibonacci levels and pivots. A "Next" column to the right of the last candle draws the next session's guide lines. Volume and RSI sit in their own panels under the price. Tables under the chart answer three questions: what the chart says now, which levels matter next session, and how each pattern has done before.

Designing as an engineer
At TaskUs I designed products that teams of developers built. Pattern Desk is different: there was no handover. I wrote the brief, set the information architecture, wrote the agent instructions and the writing rules, shaped the data model, and built the page and its calculation engine with Claude as my pair. When something broke, I traced it to the cause: a rate limit, a missing close, a timezone in the bar data.
That changed how I design. A layout is only as good as the data behind it, so I designed the datasets first, column by column, and the screens after. An agent is only as good as its brief, so I wrote its instructions with the same care as a design spec. And a tool I use every day has to be cheap to run, so cost and limits became design inputs, like screen size.
Pattern Desk is one of several deployable tools I have designed and built alone this way.
| Tool | What it is | Agents |
|---|---|---|
| Pattern Desk | A live market board for India, the UK and the USA, with charts and a backtest | 2: a weekday refresh and a Sunday reset |
| Job Desk | My job search system: leads scored against my CV, application packs, and a tracker synced with my inbox | 4: a cloud scout, a pack writer, an inbox tracker sync, and a job board check in my own browser |
| Job App Assistant | A live AI web app, designed, coded and deployed in one session with Node.js and the Claude API | None: it answers on request |
Six agents across two systems, each with its own brief, its own limits and its own report. The work is the same as designing a product team's workflow: who does what, in which order, with which inputs, and what they hand back.
Outcome
Pattern Desk has been my market read since 19 October 2026. It covers three markets, 30 signals and nine charted instruments, and one sentence ("refresh the board") brings all of it up to date, including any days I missed. Every call it makes is graded in the open, misses included.
The board shows its record in the open, so here it is as it stood after the last refresh, on 23 November 2026, with five calls still pending.
| Market | Calls graded | Hit | Miss | Hit rate |
|---|---|---|---|---|
| India (Nifty 50) | 10 | 5 | 5 | 50% |
| UK (FTSE 100) | 8 | 3 | 5 | 38% |
| USA (S&P 500) | 3 | 2 | 1 | 67% |
| All | 21 | 10 | 11 | 48% |
The headline is close to a coin, and I would rather show that than hide it. The detail is more useful. India's first six calls hit once. The next four hit in a row, as Nifty rose from 23,441 on 2 November to 25,299 on 12 November. Every miss carries a lesson, and four of India's five name the same signal: FII shorts that were already crowded.
The weekly top 5 is the weakest part so far. Of 15 graded setups, 3 worked, 4 were mixed and 8 failed. Most failures hit their "Cancel if" level first, so the exit did its job before the loss grew. The best week was 2 November: the Nifty long gained about 6.6% and the Nasdaq 100 short about 3.7% by the week's last close.
What I learned
A wrong call is a design brief. The missed short on 26 October taught me more than any right call. I did not tune the old signals. I changed the question the board asks, from the story to the crowd.
Design the data before the screen. The page could only be clear once each fact had one home. Most of my layout problems were data problems first.
Write for agents the way you write for people. An agent follows a brief as literally as a developer follows a spec. Clear rules, fixed values and plain words made every refresh read the same, whoever ran it.
Honesty is a feature. Odds instead of promises, Stale instead of a guess, and a public scorecard. People trust a tool that shows its working, and so do I.
What I would do next
- Rework the weekly setups: 8 of 15 hit their "Cancel if" test first, so the tests or the timing need another look.
- Let each signal earn its weight from its own backtest record, not from my judgment alone.
- Load live quotes a few at a time, so a refresh and a page view never compete for the same minute.
- Try the same data as a short scroll story for a weekly read.