Trading Summary
A performance summary for traders at a prop firm, rebuilt so the result and the main risk come before the tables.
Open the prototype
Research
Checking every number found the real risk
AI did the research and the analysis. Before any layout, Claude Code checked every sum and ratio on the screen against the others. The arithmetic found what the layout hid: in the sample account the average losing day (−$194) was 25% bigger than the average winning day (+$155), while costs took $1,158, 18% of net P&L, at the very bottom of the page.
- 01
No 10-second answer. 5 KPIs had equal weight, win rate showed only as “W 85 · B 0 · L 35” chips and profit factor 2.30 had no benchmark a beginner could read.
- 02
The main risk was buried among 22 equal rows. The average losing day was bigger than the average winning day, but those rows looked like all the others.
- 03
Breakdowns did not show where money was lost. The only losing slice, trades outside the main sessions at −$203, looked like any other row, while a red “Worst” tag sat on profitable ones.
- 04
No period labels. The summary covered 424 trades and the breakdown tables 60, so +$2,050 could be read as part of +$6,384.
- 05
Noise for every level of trader: duplicate metrics, lots without a unit, a red −$0 and streaks that did not say whether they counted trades or days.
Scope
What I owned
- 01
Audit the screen
Claude Code checked every number and ranked 5 problems by how much each blocked the trader’s 3 jobs: see the result, find the losses, decide what to change.
- 02
Explore 4 directions
An open canvas, bento cards, a board of 120 day marks and an equity curve. 2 blind AI reviews read the board of day marks as a timeline, so it was dropped. The final version keeps the cards and adds a waterfall of how the total adds up.
- 03
Build the system in Figma
15 components, 12 of them with variants, on variables with dark and light modes. Every frame uses auto layout. I assembled the variables, text styles and variants through Figma MCP in Claude Code.
- 04
Build the prototype in React
React and Vite, deployed to Vercel. Claude Code helped build it and Codex helped with the last edits. Tables sort, Breakdowns sit under tabs and both themes work.
- 05
Plan the test
3 hypotheses with metrics: 2 checks with 8 to 10 traders on the prototype, then an A/B test on trading behaviour.
2 blocks, 2 themes, 5 widths
- UX audit — 5 problems ranked by their impact on the trader
- Redesign — the Daily Net P&L Statistics and Breakdowns blocks
- Layouts — 1440, 640 and 375px, plus card layouts at 768 and 1024px
- Themes — dark and light
- States — an account in loss, loading, an empty account, an empty period and a Breakdowns error
- Design system — 15 components, 12 of them with variants, on variables with dark and light modes
- Prototype — React and Vite, live on Vercel
- Product plan — 3 hypotheses, each with a metric, a test and a success criterion
Craft
One number, then how it adds up
Total net P&L is the largest number on the screen, on a lime panel. Under it a waterfall shows how it was made: winning days brought about +$13.2K, losing days took about −$6.8K and the net is the exact +$6,384.
The waterfall adds no new data. It multiplies numbers the screen already had: 85 winning days at +$155 on average, 35 losing days at −$194. An equity curve looked better, but it needed an order of days the data did not have, so it stayed an alternative.
The main risk gets a headline
The audit’s main finding became a sentence beside the total: “Average losing day is 25% bigger than average winning day.” A link under it jumps to the losing session in Breakdowns.
Win and loss size puts losses left and wins right of 1 zero line, on 1 scale, so a trade and a day can be compared at a glance. A tag on each row says which side is bigger and by how much. Months are a different level, so they stay a line of text.
Breakdowns show where money is lost
All 3 tables, by session, pair and week, now have the same columns and share one card under tabs. Net P&L gets a bar with zero at its tick, so a losing slice is the only bar that runs left. Win rate became a number, and colour marks only the sign of Net P&L.
Tags are earned: Highest net, Lowest net, Loss and Few trades for any row under 10 trades. Trades outside the main sessions lost −$203, but on 7 trades. The table says so instead of telling the trader to drop the session.
The screen also reads in loss
When the total is negative, the lime panel turns neutral, the number takes the loss colour and the zero line in the waterfall moves up, with the net hanging below it.
The losing account is made up for the prototype and adds up the same way as the original numbers.
Open the losing account
On a phone
At 375px the order stays the same: the total and how it adds up, then the day-size headline. Breakdowns show 1 table at a time on tabs, and tapping a row name opens its trades, win rate and sums.
Numbers that disagreed
Expectancy showed +$34 per trade, but $6,384 over 424 trades is about $15. I did not treat it as a bug: the tooltip shows both calculations, and the hand-off names it as a question for the data team.
The summary covered all time and the tables weeks 1–5. Both now carry their period on screen, so a trader does not read +$2,050 as a breakdown of +$6,384.
What changed
Each change keeps a number and gives it a reason
No trader has used the screen yet. Each change was checked against the numbers it shows and in the browser at 375, 768, 1024 and 1440px in both themes.
- 01
BeforeMax Win Streak 7 and Max Winning Days 7, with no word on whether they counted trades or days
AfterLongest streaks split into trades and days, each counted in marks
WhySmall numbers are easier to count as marks, and the question of what is being counted is gone.
- 02
BeforeA red −$0, Logged Days repeating Trading Days, open trades among history and 1.07 with no unit
AfterCosts as 1 sum with its share of net P&L, duplicates removed, 1.07 lots and open positions marked live
WhyEvery number on the screen has a unit and a reason to be there.
- 03
BeforeNo period on any block. Block totals did not match each other
AfterThe period in every subtitle and button — plus a Breakdowns total of 60 trades and net +$2,050
WhyThe numbers can be checked against each other instead of being trusted blindly.
Screens
The same screen in the light theme
Closing
What I would test first
No trader has seen the screen yet. The plan has 3 checks: whether 8 to 10 traders read the result and the bigger losing day in 10 seconds, whether they check the period and trade count before judging a session, then an A/B test on accounts with 10+ trading days.
The A/B test succeeds if the average losing day, as a share of the daily limit, goes down while activity and pass rate do not.
Outcome
Built, not yet tested with traders
- A prototype that runs Both themes, sortable tables, Breakdowns under tabs, a loss-making account and 4 service states, live on Vercel.
- A system behind it 15 components, 12 of them with variants, on variables with dark and light modes.