MiniCTRMSearch

MiniCTRM - Build Tutorial 543: The seed database: what a new firm starts with

→ 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 seed audited row by row into five kinds, two seeds chosen when a database is created - a minimal one a new firm's production system starts from and a standard one with a few sample deals for testing - with the system's own lists locked, a start-up check of the rows the system cannot run without, and a test that keeps sample data out of every minimal database.

  • What goes in, and what never does – Five kinds of row, and the three starting points a system keeps.
  • Build the seeds – An audit, two seeds chosen at creation, the system rows locked, and sample deals for testing only.
  • Ship it – Every test, a build, a commit.
  • How MiniCTRM did it – New database's two seeds, the sample books on top, and the lists every firm shares.

Before you start

The lessons this one builds on: 541 Reference data and the interactive Data Model, 542 Market data: forward curves, FX, settlement prices and closes.

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

A database that is never quite empty

1 / 11
A database that is never quite empty
What goes in, and what never does

Five kinds of row

2 / 11
Five kinds of row
What goes in, and what never does

Three starting points

3 / 11
Three starting points
Build the seeds

Audit what a new database gets

4 / 11
Audit what a new database gets
Build the seeds

Two seeds, chosen when a database is made

5 / 11
Two seeds, chosen when a database is made
Build the seeds

Lock the system rows, check the required ones

6 / 11
Lock the system rows, check the required ones
Build the seeds

Sample deals, for testing only

7 / 11
Sample deals, for testing only
Ship it

Ship it

8 / 11
Ship it
How MiniCTRM did it

New database, and its two seeds

9 / 11
New database, and its two seeds
How MiniCTRM did it

The lists every firm shares

10 / 11
The lists every firm shares
What you have now

What you have now

11 / 11
What you have now

You have finished lesson 543, The seed database: what a new firm starts with.

Where next?

← → move · N notes · Home / End