Package org.drip.historical.state
Class CreditCurveMetrics
java.lang.Object
org.drip.historical.state.CreditCurveMetrics
public class CreditCurveMetrics
extends java.lang.Object
CreditCurveMetrics holds the computed Metrics associated the Credit Curve State.
- Module = Computational Core Module
- Library = Computation Support
- Project = Historical State Processing Utilities
- Package = Historical Implied Curve Node Metrics
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CreditCurveMetrics(JulianDate dtClose)
CreditCurveMetrics Constructor -
Method Summary
Modifier and Type Method Description boolean
addRecoveryRate(JulianDate dt, double dblRecoveryRate)
Add the Recovery Rate corresponding to the specified Dateboolean
addSurvivalProbability(JulianDate dt, double dblSurvivalProbability)
Add the Survival Probability corresponding to the specified DateJulianDate
close()
Retrieve the Closing Datedouble
recoveryRate(JulianDate dt)
Retrieve the Recovery Rate corresponding to the specified Datedouble
survivalProbability(JulianDate dt)
Retrieve the Survival Probability corresponding to the specified DateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CreditCurveMetrics
CreditCurveMetrics Constructor- Parameters:
dtClose
- The Closing Date- Throws:
java.lang.Exception
- Thrown if Inputs are Invalid
-
-
Method Details
-
close
Retrieve the Closing Date- Returns:
- The Closing Date
-
addSurvivalProbability
Add the Survival Probability corresponding to the specified Date- Parameters:
dt
- The DatedblSurvivalProbability
- The Survival Probability- Returns:
- TRUE - The Dated Survival Probability successfully added
-
addRecoveryRate
Add the Recovery Rate corresponding to the specified Date- Parameters:
dt
- The DatedblRecoveryRate
- The Recovery Rate- Returns:
- TRUE - The Dated Recovery Rate successfully added
-
survivalProbability
Retrieve the Survival Probability corresponding to the specified Date- Parameters:
dt
- The Specified Date- Returns:
- The corresponding Survival Probability
- Throws:
java.lang.Exception
- Thrown if the Survival Probability cannot be retrieved
-
recoveryRate
Retrieve the Recovery Rate corresponding to the specified Date- Parameters:
dt
- The Specified Date- Returns:
- The corresponding Recovery Rate
- Throws:
java.lang.Exception
- Thrown if the Recovery Rate cannot be retrieved
-