Record Class CentralRiskBook.CrbReport
java.lang.Object
java.lang.Record
com.quantfinlib.crb.CentralRiskBook.CrbReport
- Record Components:
grossExposure- Σ over factors of gross booked notionalnetExposure- Σ over factors of |netted| notionalnettingEfficiency- 1 − net/grossvar- delta-normal VaR of the netted bookes- delta-normal ES of the netted bookstandaloneDeskVar- Σ of per-desk standalone VaRsdiversificationBenefit- standaloneDeskVar − var: what central netting is worth in VaR terms
- Enclosing class:
CentralRiskBook
public static record CentralRiskBook.CrbReport(double grossExposure, double netExposure, double nettingEfficiency, double var, double es, double standaloneDeskVar, double diversificationBenefit)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCrbReport(double grossExposure, double netExposure, double nettingEfficiency, double var, double es, double standaloneDeskVar, double diversificationBenefit) Creates an instance of aCrbReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thediversificationBenefitrecord component.final booleanIndicates whether some other object is "equal to" this one.doublees()Returns the value of theesrecord component.doubleReturns the value of thegrossExposurerecord component.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thenetExposurerecord component.doubleReturns the value of thenettingEfficiencyrecord component.doubleReturns the value of thestandaloneDeskVarrecord component.final StringtoString()Returns a string representation of this record class.doublevar()Returns the value of thevarrecord component.
-
Constructor Details
-
CrbReport
public CrbReport(double grossExposure, double netExposure, double nettingEfficiency, double var, double es, double standaloneDeskVar, double diversificationBenefit) Creates an instance of aCrbReportrecord class.- Parameters:
grossExposure- the value for thegrossExposurerecord componentnetExposure- the value for thenetExposurerecord componentnettingEfficiency- the value for thenettingEfficiencyrecord componentvar- the value for thevarrecord componentes- the value for theesrecord componentstandaloneDeskVar- the value for thestandaloneDeskVarrecord componentdiversificationBenefit- the value for thediversificationBenefitrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
grossExposure
public double grossExposure()Returns the value of thegrossExposurerecord component.- Returns:
- the value of the
grossExposurerecord component
-
netExposure
public double netExposure()Returns the value of thenetExposurerecord component.- Returns:
- the value of the
netExposurerecord component
-
nettingEfficiency
public double nettingEfficiency()Returns the value of thenettingEfficiencyrecord component.- Returns:
- the value of the
nettingEfficiencyrecord component
-
var
-
es
-
standaloneDeskVar
public double standaloneDeskVar()Returns the value of thestandaloneDeskVarrecord component.- Returns:
- the value of the
standaloneDeskVarrecord component
-
diversificationBenefit
public double diversificationBenefit()Returns the value of thediversificationBenefitrecord component.- Returns:
- the value of the
diversificationBenefitrecord component
-