MiniCTRMSearch

MiniCTRM - Build Tutorial 601: Valuation and reports: mark-to-market, valuation runs, position, day-over-day change

→ 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 valuation service that marks every active deal to market in the base currency, discounted to today, through the curve service alone; valuation runs stored under a definition, with a rerun that supersedes and never overwrites; a Portfolio Valuation screen with subtotals and a Run now button; a position report of net volume by index and month; a day-over-day change report whose buckets add up to the headline by construction; and a market-completeness check that lists what is missing and never refuses to run.

  • What the book is worth – Mark-to-market, present value and discounting from zero, and a valuation service that reads only through the curve service.
  • A valuation you can come back to – Why a valuation is stored, a rerun that supersedes, one store, two definitions, and the Portfolio Valuation screen.
  • Position: volume, not value – Net volume by index and month, long and short, and why a fixed side has no position.
  • Why did it move? – The day-over-day change in five buckets that add up by construction, and a completeness check before every run.
  • Ship it – /ship, with the valuation tests among the rest.
  • How MiniCTRM did it – Portfolio Valuation, Valuation Runs, Valuation Change and Position, live, and the one door behind them.

Before you start

The lessons this one builds on: 522 Designing the deal model: how to tell Claude what you want, 532 Front end: the Deal Blotter, 542 Market data: forward curves, FX, settlement prices and closes, 544 Pipeline, Zone and Location: where physical gas changes hands, 545 The second trade type: physical natural gas.

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

The first number a desk asks for

1 / 15
The first number a desk asks for
What the book is worth

Mark-to-market, present value, discounting

2 / 15
Mark-to-market, present value, discounting
What the book is worth

The valuation service

3 / 15
The valuation service
A valuation you can come back to

A valuation you can come back to

4 / 15
A valuation you can come back to
A valuation you can come back to

Valuation runs stored

5 / 15
Valuation runs stored
A valuation you can come back to

The Portfolio Valuation screen

6 / 15
The Portfolio Valuation screen
Position: volume, not value

Volume, not value

7 / 15
Volume, not value
Position: volume, not value

The position report

8 / 15
The position report
Why did it move?

Why did it move?

9 / 15
Why did it move?
Why did it move?

The day-over-day change report

10 / 15
The day-over-day change report
Why did it move?

Is the market there?

11 / 15
Is the market there?
Ship it

Ship it

12 / 15
Ship it
How MiniCTRM did it

Portfolio Valuation and Valuation Runs

13 / 15
Portfolio Valuation and Valuation Runs
How MiniCTRM did it

Valuation Change, Position and Market completeness

14 / 15
Valuation Change, Position and Market completeness
What you have now

What you have now

15 / 15
What you have now

You have finished lesson 601, Valuation and reports: mark-to-market, valuation runs, position, day-over-day change.

Where next?

← → move · N notes · Home / End