Package org.drip.service.state
Class CreditCurveAPI
java.lang.Object
org.drip.service.state.CreditCurveAPI
public class CreditCurveAPI
extends java.lang.Object
CreditCurveAPI computes the Metrics associated the Credit Curve State.
- Module = Computational Core Module
- Library = Computation Support
- Project = Environment, Product/Definition Containers, and Scenario/State Manipulation APIs
- Package = Curve Based State Metric Generator
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CreditCurveAPI()
-
Method Summary
Modifier and Type Method Description static CreditCurveMetrics
DailyMetrics(JulianDate dtSpot, java.lang.String[] astrFundingFixingMaturityTenor, double[] adblFundingFixingQuote, java.lang.String strFullCreditIndexName, double dblCreditIndexQuotedSpread, java.lang.String[] astrForTenor)
Generate the Horizon Metrics for the Specified Inputsstatic java.util.TreeMap<JulianDate,CreditCurveMetrics>
HorizonMetrics(JulianDate[] adtSpot, java.lang.String[] astrFundingFixingMaturityTenor, double[][] aadblFundingFixingQuote, java.lang.String[] astrFullCreditIndexName, double[] adblCreditIndexQuotedSpread, java.lang.String[] astrForTenor)
Generate the Horizon Metrics for the Specified InputsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CreditCurveAPI
public CreditCurveAPI()
-
-
Method Details
-
DailyMetrics
public static final CreditCurveMetrics DailyMetrics(JulianDate dtSpot, java.lang.String[] astrFundingFixingMaturityTenor, double[] adblFundingFixingQuote, java.lang.String strFullCreditIndexName, double dblCreditIndexQuotedSpread, java.lang.String[] astrForTenor)Generate the Horizon Metrics for the Specified Inputs- Parameters:
dtSpot
- The Spot DateastrFundingFixingMaturityTenor
- Array of the Funding Fixing Curve Calibration Instrument TenorsadblFundingFixingQuote
- Array of the Funding Fixing Curve Calibration Instrument QuotesstrFullCreditIndexName
- The Full Credit Index NamedblCreditIndexQuotedSpread
- The Credit Index Quoted SpreadastrForTenor
- Array of the "For" Tenors- Returns:
- Map of the Dated Credit Curve Metrics
-
HorizonMetrics
public static final java.util.TreeMap<JulianDate,CreditCurveMetrics> HorizonMetrics(JulianDate[] adtSpot, java.lang.String[] astrFundingFixingMaturityTenor, double[][] aadblFundingFixingQuote, java.lang.String[] astrFullCreditIndexName, double[] adblCreditIndexQuotedSpread, java.lang.String[] astrForTenor)Generate the Horizon Metrics for the Specified Inputs- Parameters:
adtSpot
- Array of Horizon DatesastrFundingFixingMaturityTenor
- Array of the Funding Fixing Curve Calibration Instrument TenorsaadblFundingFixingQuote
- Array of the Funding Fixing Curve Calibration Instrument QuotesastrFullCreditIndexName
- Array of the Full Credit Index NamesadblCreditIndexQuotedSpread
- Array of the Credit Index Quoted SpreadsastrForTenor
- Array of the "For" Tenors- Returns:
- Map of the Dated Credit Curve Metrics
-