MiniCTRMSearch

MiniCTRM - Build Tutorial 545: The second trade type: physical natural gas

→ 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 physical natural gas deal type - a physical side at a location and a financial side fixed or index plus spread - on the swap's deal model and profile loop, pinned by three worked deals, booked on its own ticket from descriptors, with a Physical Position by pipeline, zone and location, and present in the sample book and the mental model.

  • A physical deal, side by side with a swap – Two sides, the opposite directions, gas days, a location's price, and what the rows mean.
  • The model and the numbers – A plan in plan mode, the tables and the generator, and three deals pinned to the cent.
  • The ticket and the Physical Position – A ticket from descriptors, and where the gas is by pipeline, zone and location.
  • The book and the map – Sample physical deals, every screen showing both types, and the mental model brought up to date.
  • Ship it – Every test, a build, a commit.
  • How MiniCTRM did it – New Physical NatGas: the two sides, the cascading location, and the Physical NatGas Position.

Before you start

The lessons this one builds on: 522 Designing the deal model: how to tell Claude what you want, 523 The first vertical slice: one swap from ticket to blotter, 524 Commodities are local: why a commodity system does not travel, and how to make yours, 533 Front end: the Deal Input Screens, 542 Market data: forward curves, FX, settlement prices and closes, 543 The seed database: what a new firm starts with, 544 Pipeline, Zone and Location: where physical gas changes hands.

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 gas itself

1 / 13
The gas itself
A physical deal, side by side with a swap

Two sides, opposite directions

2 / 13
Two sides, opposite directions
A physical deal, side by side with a swap

Gas days, partial months and the payment date

3 / 13
Gas days, partial months and the payment date
The model and the numbers

Plan it first

4 / 13
Plan it first
The model and the numbers

The tables and the generator

5 / 13
The tables and the generator
The model and the numbers

Three deals, three tests

6 / 13
Three deals, three tests
The ticket and the Physical Position

A ticket from descriptors

7 / 13
A ticket from descriptors
The ticket and the Physical Position

Where the gas is: the Physical Position

8 / 13
Where the gas is: the Physical Position
The book and the map

The book and the map

9 / 13
The book and the map
Ship it

Ship it

10 / 13
Ship it
How MiniCTRM did it

New Physical NatGas

11 / 13
New Physical NatGas
How MiniCTRM did it

Physical NatGas Position

12 / 13
Physical NatGas Position
What you have now

What you have now

13 / 13
What you have now
← → move · N notes · Home / End