MiniCTRM - Build Tutorial 523: The first vertical slice: one swap from ticket to blotter
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
A fixed-for-floating swap entered on a ticket, previewed live, saved in one transaction with its payment profile regenerated, and listed in a blotter, with an end-to-end test that does the whole journey.
The path a trade takes – Ticket, preview, save, blotter - and the two rules to carry from here.
The back end: preview and save – An endpoint that never writes, and one door that books, amends, copies and deletes, each at once.
The ticket – The entry screen, its live preview, Save, and the blotter that lists the result.
The journey, as a test – One browser test that does what a trader does, and a look by eye.
Write it down and ship – CLAUDE.md learns the shape of a feature; then /ship.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
One thin path through every layer
1 / 14The path a trade takes
Ticket, preview, save, blotter
2 / 14The back end: preview and save
Preview, nothing saved
3 / 14The back end: preview and save
Save, in one transaction
4 / 14The back end: preview and save
Amend, copy and delete, through the same door
5 / 14The ticket
The ticket
6 / 14The ticket
Live preview
7 / 14The ticket
Save and see it
8 / 14The journey, as a test
The journey, as a test
9 / 14The journey, as a test
Run it and look
10 / 14Write it down and ship
What we learned goes into CLAUDE.md
11 / 14Write it down and ship
Ship it
12 / 14What you have now
How MiniCTRM did it
13 / 14What you have now
What you have now
14 / 14
You have finished lesson 523, The first vertical slice: one swap from ticket to blotter.