MiniCTRMSearch

MiniCTRM - Build Tutorial 603: Credit: counterparty exposure against limits

→ 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

Exposure per counterparty from the latest closing valuation run - the positive deal values added up, split into cash already earned and value still to come - computed live on request; credit lines as reference data, overall and per trade type, in the base currency with dates; groups for counterparties that are one legal entity; utilization, warnings and breaches on a Credit Exposure screen that never stops a trade; ratings as a label; and a test that credit never changes a deal's value.

  • What exposure is – What a counterparty owes you, from the mark-to-market: positive values only, cash earned and value to come, computed live on request.
  • Credit lines and groups – A limit per counterparty and per trade type as reference data, and a group for counterparties that are one legal entity.
  • Utilization, warnings and breaches – How much of a line is used, a warning before the limit, a breach above it, on one screen - and the proof that credit never changes a value.
  • Ship it – /ship, with the two credit proofs among the tests.
  • How MiniCTRM did it – Credit Exposure live from the engine, credit line sets, groups, ratings, and the test that guards the rule.

Before you start

The lessons this one builds on: 541 Reference data and the interactive Data Model, 601 Valuation and reports: mark-to-market, valuation runs, position, day-over-day change.

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 mirror of market risk

1 / 13
The mirror of market risk
What exposure is

What a counterparty owes you

2 / 13
What a counterparty owes you
What exposure is

What counts, and what does not

3 / 13
What counts, and what does not
What exposure is

Exposure per counterparty, live from the latest run

4 / 13
Exposure per counterparty, live from the latest run
Credit lines and groups

A limit, and who it is for

5 / 13
A limit, and who it is for
Credit lines and groups

Credit lines as reference data

6 / 13
Credit lines as reference data
Credit lines and groups

Counterparties that are one legal entity

7 / 13
Counterparties that are one legal entity
Utilization, warnings and breaches

Utilization, a warning, a breach - and the rule

8 / 13
Utilization, a warning, a breach - and the rule
Utilization, warnings and breaches

Measure, show, and prove the rule

9 / 13
Measure, show, and prove the rule
Ship it

Ship it

10 / 13
Ship it
How MiniCTRM did it

Credit Exposure

11 / 13
Credit Exposure
How MiniCTRM did it

Credit Lines, Credit Groups and Party Ratings

12 / 13
Credit Lines, Credit Groups and Party Ratings
What you have now

What you have now

13 / 13
What you have now

You have finished lesson 603, Credit: counterparty exposure against limits.

Where next?

← → move · N notes · Home / End