public class CreditCurveMetrics
extends java.lang.Object
| Constructor and Description |
|---|
CreditCurveMetrics(JulianDate dtClose)
CreditCurveMetrics Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRecoveryRate(JulianDate dt,
double dblRecoveryRate)
Add the Recovery Rate corresponding to the specified Date
|
boolean |
addSurvivalProbability(JulianDate dt,
double dblSurvivalProbability)
Add the Survival Probability corresponding to the specified Date
|
JulianDate |
close()
Retrieve the Closing Date
|
double |
recoveryRate(JulianDate dt)
Retrieve the Recovery Rate corresponding to the specified Date
|
double |
survivalProbability(JulianDate dt)
Retrieve the Survival Probability corresponding to the specified Date
|
public CreditCurveMetrics(JulianDate dtClose) throws java.lang.Exception
dtClose - The Closing Datejava.lang.Exception - Thrown if Inputs are Invalidpublic JulianDate close()
public boolean addSurvivalProbability(JulianDate dt, double dblSurvivalProbability)
dt - The DatedblSurvivalProbability - The Survival Probabilitypublic boolean addRecoveryRate(JulianDate dt, double dblRecoveryRate)
dt - The DatedblRecoveryRate - The Recovery Ratepublic double survivalProbability(JulianDate dt) throws java.lang.Exception
dt - The Specified Datejava.lang.Exception - Thrown if the Survival Probability cannot be retrievedpublic double recoveryRate(JulianDate dt) throws java.lang.Exception
dt - The Specified Datejava.lang.Exception - Thrown if the Recovery Rate cannot be retrieved