Class FrtbSa.Commodity
java.lang.Object
com.quantfinlib.risk.FrtbSa.Commodity
- Enclosing class:
FrtbSa
Commodity parameters, buckets 1-11.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleInter-bucket γ (buckets 1-10); bucket 11 takes 0 (MAR21.85, verified).static final doubleDifferent delivery location (MAR21.83(3), verified).static final double[]Intra-bucket commodity correlation ρ_cty, index = bucket − 1 (MAR21.83 Table 12, verified).static final doubleDifferent tenor (MAR21.83(2), verified).static final double[]Delta risk weights, index = bucket − 1 (MAR21.82 Table 11, verified). -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegamma(int b, int c) Inter-bucket γ for buckets 1-11 (MAR21.85).
-
Field Details
-
RW
public static final double[] RWDelta risk weights, index = bucket − 1 (MAR21.82 Table 11, verified). -
RHO_CTY
public static final double[] RHO_CTYIntra-bucket commodity correlation ρ_cty, index = bucket − 1 (MAR21.83 Table 12, verified). -
GAMMA
public static final double GAMMAInter-bucket γ (buckets 1-10); bucket 11 takes 0 (MAR21.85, verified).- See Also:
-
RHO_TENOR
public static final double RHO_TENORDifferent tenor (MAR21.83(2), verified).- See Also:
-
RHO_BASIS
public static final double RHO_BASISDifferent delivery location (MAR21.83(3), verified).- See Also:
-
-
Method Details
-
gamma
public static double gamma(int b, int c) Inter-bucket γ for buckets 1-11 (MAR21.85).
-