MiniCTRMSearch

MiniCTRM - Tutorial: Valuation runs and storage - Power

→ 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 run, and a rerun – A definition of your own, a run, its header and its detail, and a rerun that turns the first Stale.
  • In SQL – One header row per run, one payload per run, and the relational tables empty.
  • Valuation Storage – Extract your runs, query them by portfolio, purge the rows, and how long runs are kept.
  • Deleting runs – Your stale run deleted, and why deleting by status is history lost.
  • From code – valuations() in a script, and the one door in the application.

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

Valuation runs and storage

1 / 25
Valuation runs and storage
A run, and a rerun

A definition of your own

2 / 25
A definition of your own
A run, and a rerun

Run it

3 / 25
Run it
A run, and a rerun

The header is a row

4 / 25
The header is a row
A run, and a rerun

The detail is one payload

5 / 25
The detail is one payload
A run, and a rerun

Run it again

6 / 25
Run it again
A run, and a rerun

Stale and Current

7 / 25
Stale and Current
In SQL

One row per run

8 / 25
One row per run
In SQL

Which row is which day

9 / 25
Which row is which day
In SQL

One payload per run

10 / 25
One payload per run
In SQL

The rows are not there

11 / 25
The rows are not there
In SQL

By run, then by deal

12 / 25
By run, then by deal
Valuation Storage

Valuation Storage

13 / 25
Valuation Storage
Valuation Storage

Extract your runs

14 / 25
Extract your runs
Valuation Storage

Now SQL can see them

15 / 25
Now SQL can see them
Valuation Storage

PV by portfolio

16 / 25
PV by portfolio
Valuation Storage

Purge the rows again

17 / 25
Purge the rows again
Valuation Storage

How long runs are kept

18 / 25
How long runs are kept
Valuation Storage

A week, played forward

19 / 25
A week, played forward
Deleting runs

Delete your stale run

20 / 25
Delete your stale run
Deleting runs

Deleting history

21 / 25
Deleting history
From code

The same from a script

22 / 25
The same from a script
From code

One door in the code

23 / 25
One door in the code
What next

What Purge removes

24 / 25
What Purge removes
What next

Where to go from here

25 / 25
Where to go from here

You have finished lesson 461, Valuation runs and storage.

Where next?

← → move · N notes · Home / End