Package org.drip.service.state
Class FundingCurveAPI
java.lang.Object
org.drip.service.state.FundingCurveAPI
public class FundingCurveAPI
extends java.lang.Object
FundingCurveAPI computes the Metrics associated the Funding 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 FundingCurveAPI()
-
Method Summary
Modifier and Type Method Description static FundingCurveMetrics
DailyMetrics(JulianDate dtSpot, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String[] astrInTenor, java.lang.String[] astrForTenor, java.lang.String strCurrency, int iLatentStateType)
Generate the Funding Curve Daily Metricsstatic java.util.Map<JulianDate,MergedDiscountForwardCurve>
HistoricalMap(JulianDate[] adtSpot, java.lang.String[] astrFixFloatMaturityTenor, double[][] aadblFixFloatQuote, java.lang.String strCurrency, int iLatentStateType)
Generate the Funding Curve Mapstatic java.util.Map<JulianDate,FundingCurveMetrics>
HorizonMetrics(JulianDate[] adtSpot, java.lang.String[] astrFixFloatMaturityTenor, double[][] aadblFixFloatQuote, java.lang.String[] astrInTenor, java.lang.String[] astrForTenor, java.lang.String strCurrency, int iLatentStateType)
Generate the Funding Curve Horizon MetricsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FundingCurveAPI
public FundingCurveAPI()
-
-
Method Details
-
DailyMetrics
public static final FundingCurveMetrics DailyMetrics(JulianDate dtSpot, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String[] astrInTenor, java.lang.String[] astrForTenor, java.lang.String strCurrency, int iLatentStateType)Generate the Funding Curve Daily Metrics- Parameters:
dtSpot
- The Spot DateastrFixFloatMaturityTenor
- Array of Fix Float Maturity TenorsadblFixFloatQuote
- Array of Fix Float Swap RatesastrInTenor
- Array of "In" TenorsastrForTenor
- Array of "For" TenorsstrCurrency
- Funding CurrencyiLatentStateType
- Latent State Type- Returns:
- The Funding Curve Daily Metrics
-
HorizonMetrics
public static final java.util.Map<JulianDate,FundingCurveMetrics> HorizonMetrics(JulianDate[] adtSpot, java.lang.String[] astrFixFloatMaturityTenor, double[][] aadblFixFloatQuote, java.lang.String[] astrInTenor, java.lang.String[] astrForTenor, java.lang.String strCurrency, int iLatentStateType)Generate the Funding Curve Horizon Metrics- Parameters:
adtSpot
- Array of SpotastrFixFloatMaturityTenor
- Array of Fix Float Maturity TenorsaadblFixFloatQuote
- Array of Fix Float Swap RatesastrInTenor
- Array of "In" TenorsastrForTenor
- Array of "For" TenorsstrCurrency
- Funding CurrencyiLatentStateType
- Latent State Type- Returns:
- The Funding Curve Horizon Metrics
-
HistoricalMap
public static final java.util.Map<JulianDate,MergedDiscountForwardCurve> HistoricalMap(JulianDate[] adtSpot, java.lang.String[] astrFixFloatMaturityTenor, double[][] aadblFixFloatQuote, java.lang.String strCurrency, int iLatentStateType)Generate the Funding Curve Map- Parameters:
adtSpot
- Array of SpotastrFixFloatMaturityTenor
- Array of Fix Float Maturity TenorsaadblFixFloatQuote
- Array of Fix Float Swap RatesstrCurrency
- Funding CurrencyiLatentStateType
- Latent State Type- Returns:
- The Funding Curve Map
-