public abstract class CreditComponent extends CalibratableComponent
Constructor and Description |
---|
CreditComponent() |
Modifier and Type | Method and Description |
---|---|
abstract CreditSetting |
creditValuationParams()
Get the credit component's Credit Valuation Parameters
|
java.util.List<LossQuadratureMetrics> |
lossFlow(JulianDate dtSpot,
CurveSurfaceQuoteContainer csqc)
Generate the loss flow for the credit component based on the pricer parameters
|
abstract java.util.List<LossQuadratureMetrics> |
lossFlow(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqc)
Generate the loss flow for the credit component based on the pricer parameters
|
abstract double |
recovery(int iDate,
CreditCurve cc)
Get the recovery of the credit component for the given date
|
abstract double |
recovery(int iDate1,
int iDate2,
CreditCurve cc)
Get the time-weighted recovery of the credit component between the given dates
|
calibMeasures, calibPRWC, calibQuoteSet, forwardPRWC, fundingForwardPRWC, fundingPRWC, fxPRWC, govviePRWC, jackDDirtyPVDManifestMeasure, manifestMeasureDFMicroJack, primaryCode, secondaryCode, setPrimaryCode, volatilityPRWC
cashSettleParams, couponMetrics, couponPeriods, customScenarioMeasures, effectiveDate, firstCouponDate, freq, initialNotional, maturityDate, measureNames, measures, measureValue, notional, notional, pv, tenor, value
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
couponCurrency, creditLabel, forwardLabel, fundingLabel, fxLabel, govvieLabel, name, payCurrency, principalCurrency, volatilityLabel
public abstract java.util.List<LossQuadratureMetrics> lossFlow(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqc)
valParams
- ValuationParamspricerParams
- PricerParamscsqc
- ComponentMarketParamspublic abstract double recovery(int iDate, CreditCurve cc) throws java.lang.Exception
iDate
- JulianDatecc
- Credit Curvejava.lang.Exception
- Thrown if recovery cannot be calculatedpublic abstract double recovery(int iDate1, int iDate2, CreditCurve cc) throws java.lang.Exception
iDate1
- JulianDate #1iDate2
- JulianDate #2cc
- Credit Curvejava.lang.Exception
- Thrown if recovery cannot be calculatedpublic abstract CreditSetting creditValuationParams()
public java.util.List<LossQuadratureMetrics> lossFlow(JulianDate dtSpot, CurveSurfaceQuoteContainer csqc)
dtSpot
- The Spot Datecsqc
- The Component Market Parameters