Skip to the episode

The Biggest Mistakes in Quant Finance · Episode 29 of 30

Taking Positive Exposure Before Netting-Set Aggregation

Understand why counterparty exposure must be netted before taking its positive part, with netting-set calculations and CVA implications.

Why this mistake matters

Counterparty exposure depends on how trades are legally netted. Taking the positive part of every trade before aggregating them can materially overstate exposure and, consequently, credit valuation adjustments.

The mistake explained

Positive and negative trade values may offset within a legally enforceable netting set. The correct operation is to sum the trade values inside that set and only then take the positive exposure. Applying the positive-part operation first throws away negative positions that should reduce the net amount.

A practical example

Imagine two trades with one counterparty: one is worth +10 and the other −8 from the bank’s perspective. If the trades are in the same enforceable netting set, the positive net exposure is 2, not 10. Summing their separate positive values ignores the permitted offset and biases the result upward.

Legal documentation matters: offsetting trades in different netting sets is not permitted merely because they share a counterparty. The aggregation rule must follow enforceable agreements. For large portfolios, this legal mapping can matter as much as the simulated market values themselves.

What you will learn

Watch the video above for the full explanation, practical examples and mathematical details.

Slides and further resources

Lecture slides and code on GitHub ↗ · Complete lecture slides (PDF) ↗

Explore all 30 episodes or discover more quantitative finance videos on Computations in Finance ↗.