Docs / nablatensor-cva / com.nablatensor.cva

record

NettingSet

A set of trades with one counterparty under a single master agreement, with an optional CSA. Exposure and CVA are computed at this level — the trades net.

Record components

id
String
counterparty
CreditName
trades
List<CvaTrade>
collateral
CollateralAgreement

Constructors

NettingSet(String id, CreditName counterparty, List<CvaTrade> trades)

Methods

double grossNotional()
double horizonYears()

The latest cash-flow date across the trades — the simulation horizon.

double effectiveMaturityYears()

Notional-weighted effective maturity, the M_c the BA-CVA supervisory discount factor and risk weight are applied to.