MiniCTRMSearch

MiniCTRM - Build Tutorial 722: More than one close a day: New York, London and Asia

→ 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

Two or three end-of-day runs every business day in your system - close definitions with their time zones and calendars, market data and valuation runs keyed by date and close, a home close per book, a business date and an end of day per close, P&L that only compares a close with itself, and risk, postings and credit that name the close they read.

  • Why MiniCTRM has one close
  • What a close is – A date and a close name, with a time zone, a cutoff and a calendar.
  • The hard parts – Dates across time zones, home closes, P&L, missing prices, cutoffs.
  • Build it – The close as data, market data, runs, the end of day, P&L, risk and the ship.
  • How MiniCTRM did it – One close per date.

Before you start

The lessons this one builds on: 524 Commodities are local: why a commodity system does not travel, and how to make yours, 542 Market data: forward curves, FX, settlement prices and closes, 601 Valuation and reports: mark-to-market, valuation runs, position, day-over-day change, 602 Market risk: sensitivities, historical-simulation VaR, stress tests and limits, 603 Credit: counterparty exposure against limits, 613 Treasury and accounting: the cash ladder, postings and month-end, 621 End of day: close the market, run the valuation, automate the night, 622 Running jobs in parallel: the end of day in ten minutes, not twenty.

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

Following the sun

1 / 16
Following the sun
Why MiniCTRM has one close

One end of day for one location

2 / 16
One end of day for one location
Why MiniCTRM has one close

What your system needs first

3 / 16
What your system needs first
What a close is

A date and a close

4 / 16
A date and a close
What a close is

One Tuesday, three closes

5 / 16
One Tuesday, three closes
The hard parts

Where it goes wrong

6 / 16
Where it goes wrong
The hard parts

P&L that adds up, and P&L that does not

7 / 16
P&L that adds up, and P&L that does not
Build it

The close as data

8 / 16
The close as data
Build it

Market data per close

9 / 16
Market data per close
Build it

Books, business dates and runs

10 / 16
Books, business dates and runs
Build it

An end of day per close

11 / 16
An end of day per close
Build it

P&L and reports per close

12 / 16
P&L and reports per close
Build it

Risk, accounting and credit

13 / 16
Risk, accounting and credit
Build it

Ship it

14 / 16
Ship it
How MiniCTRM did it

One close per date

15 / 16
One close per date
What you have now

What you have now

16 / 16
What you have now

You have finished lesson 722, More than one close a day: New York, London and Asia.

Where next?

← → move · N notes · Home / End