Package org.drip.service.template
Class LatentMarketStateBuilder
java.lang.Object
org.drip.service.template.LatentMarketStateBuilder
public class LatentMarketStateBuilder
extends java.lang.Object
LatentMarketStateBuilder contains static Helper API to facilitate Construction of the Latent Market
States as Curves/Surfaces. It provides the following Functionality:
- Generate a Forward Rate Futures Contract corresponding to the Spot Date
- Generate a Forward Rate Futures Pack corresponding to the Spot Date and the Specified Number of Contracts
- Generate an Instance of Treasury Futures given the Inputs
- Generate the Treasury Futures Instance #1
- Generate the Treasury Futures Instance #2
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static int
SHAPE_PRESERVING
Shape Preserving Latent Statestatic int
SMOOTH
Smoothened Latent State -
Constructor Summary
Constructors Constructor Description LatentMarketStateBuilder()
-
Method Summary
Modifier and Type Method Description static CaseInsensitiveTreeMap<CreditCurve>
BumpedCreditCurve(JulianDate dtSpot, java.lang.String strCredit, java.lang.String[] astrMaturityTenor, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc, double dblBump, boolean bIsProportional)
Construct a Tenor + Parallel Map of Bumped Credit Curves from Overnight Exchange/OTC Market Instrumentsstatic CaseInsensitiveTreeMap<ForwardCurve>
BumpedForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference, int iLatentStateType, double dblBump, boolean bIsProportional)
Construct a Map of Tenor Bumped Forward Curve Based off of the Input Exchange/OTC Market Instrumentsstatic CaseInsensitiveTreeMap<MergedDiscountForwardCurve>
BumpedForwardFundingCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, double[] adblFuturesQuote, java.lang.String strFuturesMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)
Construct a Map of Tenor Bumped Funding Curve Based off of the Underlying Forward Curve Shiftstatic CaseInsensitiveTreeMap<VolatilityCurve>
BumpedForwardVolatilityCurve(JulianDate dtSpot, ForwardLabel forwardLabel, boolean bIsCap, java.lang.String[] astrMaturityTenor, double[] adblStrike, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc, ForwardCurve fc, double dblBump, boolean bIsProportional)
Construct a Tenor + Parallel Forward Volatility Latent State Construction from Cap/Floor Instrumentsstatic CaseInsensitiveTreeMap<MergedDiscountForwardCurve>
BumpedFundingCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, double[] adblFuturesQuote, java.lang.String strFuturesMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)
Construct a Map of Tenor Bumped Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic CaseInsensitiveTreeMap<FXCurve>
BumpedFXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot, int iLatentStateType, double dblBump, boolean bIsProportional)
Construct a Tenor + Parallel Map of FX Curve from the FX Instrumentsstatic CaseInsensitiveTreeMap<GovvieCurve>
BumpedGovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)
Construct a Tenor + Parallel Map of Govvie Curves from the Treasury Instrumentsstatic CaseInsensitiveTreeMap<MergedDiscountForwardCurve>
BumpedOvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)
Construct a Map of Tenor + Parallel Bumped Overnight Curvesstatic CreditCurve
CreditCurve(JulianDate dtSpot, java.lang.String strCredit, java.lang.String[] astrMaturityTenor, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc)
Construct a Credit Curve from Overnight Exchange/OTC Market Instrumentsstatic CreditCurve
CreditCurve(JulianDate dtSpot, CreditDefaultSwap[] aCDS, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc)
Construct a Credit Curve from the specified Calibration CDS Instrumentsstatic ForwardCurve
ForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference, int iLatentStateType)
Construct a Instance of the Smooth/Shape Preserving Forward Curve off of Exchange/OTC Market Instrumentsstatic ForwardCurve
ForwardCurve(JulianDate spotDate, ForwardLabel forwardLabel, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, java.lang.String[] fraMaturityTenorArray, double[] fraQuoteArray, java.lang.String fraMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, java.lang.String[] floatFloatMaturityTenorArray, double[] floatFloatQuoteArray, java.lang.String floatFloatMeasure, java.lang.String[] syntheticFloatFloatMaturityTenorArray, double[] syntheticFloatFloatQuoteArray, java.lang.String syntheticFloatFloatMeasure, MergedDiscountForwardCurve mergedDiscountForwardCurve, ForwardCurve referenceForwardCurve, SegmentCustomBuilderControl segmentCustomBuilderControl)
Construct a Instance of the Forward Curve off of Exchange/OTC Market Instrumentsstatic VolatilityCurve
ForwardRateVolatilityCurve(JulianDate dtSpot, ForwardLabel forwardLabel, boolean bIsCap, java.lang.String[] astrMaturityTenor, double[] adblStrike, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc, ForwardCurve fc)
Forward Rate Volatility Latent State Construction from Cap/Floor Instrumentsstatic MergedDiscountForwardCurve
FundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, int latentStateType)
Construct a Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
FundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, SegmentCustomBuilderControl segmentCustomBuilderControl)
Construct a Funding Curve Based off of the Input Exchange/OTC Market Instruments Using the specified Splinestatic FXCurve
FXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot, int iLatentStateType)
Construct an FX Curve from the FX Forward Instrumentsstatic FXCurve
FXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot, SegmentCustomBuilderControl scbc)
Construct an FX Curve from the FX Forward Instrumentsstatic GovvieCurve
GovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, int iLatentStateType)
Construct a Govvie Curve from the Treasury Instrumentsstatic GovvieCurve
GovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, SegmentCustomBuilderControl scbc)
Construct a Govvie Curve from the Treasury Instrumentsstatic MergedDiscountForwardCurve
OvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure, int iLatentStateType)
Construct an Overnight Curve from Overnight Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
OvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure, SegmentCustomBuilderControl scbc)
Construct an Overnight Curve from Overnight Exchange/OTC Market Instrumentsstatic ForwardCurve
ShapePreservingForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference)
Construct a Instance of the Shape Preserving Forward Curve off of Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
ShapePreservingFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)
Construct a Shape Preserving Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic FXCurve
ShapePreservingFXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot)
Construct a Shape Preserving FX Curve from the FX Forward Instrumentsstatic GovvieCurve
ShapePreservingGovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure)
Construct a Shape Preserving Govvie Curve from the Treasury Instrumentsstatic MergedDiscountForwardCurve
ShapePreservingOvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure)
Construct a Shape Preserving Overnight Curve from Overnight Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
SingleStretchFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String strFixFloatMeasure, int latentStateType)
Construct a Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
SingleStretchFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, SegmentCustomBuilderControl segmentCustomBuilderControl)
Construct a Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instruments Using the specified Splinestatic MergedDiscountForwardCurve
SingleStretchShapePreservingFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)
Construct a Shape Preserving Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
SingleStretchSmoothFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)
Construct a Smooth Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic ForwardCurve
SmoothForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference)
Construct a Instance of Smooth Forward Curve off of Exchange/OTC Market Instrumentsstatic MergedDiscountForwardCurve
SmoothFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)
Construct a Smooth Funding Curve Based off of the Input Exchange/OTC Market Instrumentsstatic FXCurve
SmoothFXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot)
Construct a Smooth FX Curve from the FX Forward Instrumentsstatic GovvieCurve
SmoothGovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure)
Construct a Smooth Govvie Curve from the Treasury Instrumentsstatic MergedDiscountForwardCurve
SmoothOvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure)
Construct a Smooth Overnight Curve from Overnight Exchange/OTC Market InstrumentsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SHAPE_PRESERVING
public static final int SHAPE_PRESERVINGShape Preserving Latent State- See Also:
- Constant Field Values
-
SMOOTH
public static final int SMOOTHSmoothened Latent State- See Also:
- Constant Field Values
-
-
Constructor Details
-
LatentMarketStateBuilder
public LatentMarketStateBuilder()
-
-
Method Details
-
FundingCurve
public static final MergedDiscountForwardCurve FundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, SegmentCustomBuilderControl segmentCustomBuilderControl)Construct a Funding Curve Based off of the Input Exchange/OTC Market Instruments Using the specified Spline- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration MeasuresegmentCustomBuilderControl
- Segment Custom Builder Control- Returns:
- The Funding Curve Instance
-
SingleStretchFundingCurve
public static final MergedDiscountForwardCurve SingleStretchFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, SegmentCustomBuilderControl segmentCustomBuilderControl)Construct a Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instruments Using the specified Spline- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration MeasuresegmentCustomBuilderControl
- Segment Custom Builder Control- Returns:
- The Funding Curve Instance
-
SingleStretchShapePreservingFundingCurve
public static final MergedDiscountForwardCurve SingleStretchShapePreservingFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)Construct a Shape Preserving Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration Measure- Returns:
- The Single Stretch Funding Curve Instance
-
ShapePreservingFundingCurve
public static final MergedDiscountForwardCurve ShapePreservingFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)Construct a Shape Preserving Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration Measure- Returns:
- The Funding Curve Instance
-
SmoothFundingCurve
public static final MergedDiscountForwardCurve SmoothFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)Construct a Smooth Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration Measure- Returns:
- The Funding Curve Instance
-
SingleStretchSmoothFundingCurve
public static final MergedDiscountForwardCurve SingleStretchSmoothFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure)Construct a Smooth Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration Measure- Returns:
- The Single Stretch Funding Curve Instance
-
FundingCurve
public static final MergedDiscountForwardCurve FundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, int latentStateType)Construct a Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesfixFloatMeasure
- Fix Float Calibration MeasurelatentStateType
- SHAPE_PRESERVING/SMOOTH- Returns:
- The Funding Curve Instance
-
SingleStretchFundingCurve
public static final MergedDiscountForwardCurve SingleStretchFundingCurve(JulianDate spotDate, java.lang.String currency, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, double[] futuresQuoteArray, java.lang.String futuresMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String strFixFloatMeasure, int latentStateType)Construct a Single Stretch Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
spotDate
- The Spot Datecurrency
- CurrencydepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of Deposit QuotesdepositMeasure
- Deposit Calibration MeasurefuturesQuoteArray
- Array of Futures QuotesfuturesMeasure
- Futures Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix Float Swap Maturity TenorsfixFloatQuoteArray
- Array of Fix Float Swap QuotesstrFixFloatMeasure
- Fix Float Calibration MeasurelatentStateType
- SHAPE_PRESERVING/SMOOTH- Returns:
- The Single Stretch Funding Curve Instance
-
ForwardCurve
public static final ForwardCurve ForwardCurve(JulianDate spotDate, ForwardLabel forwardLabel, java.lang.String[] depositMaturityTenorArray, double[] depositQuoteArray, java.lang.String depositMeasure, java.lang.String[] fraMaturityTenorArray, double[] fraQuoteArray, java.lang.String fraMeasure, java.lang.String[] fixFloatMaturityTenorArray, double[] fixFloatQuoteArray, java.lang.String fixFloatMeasure, java.lang.String[] floatFloatMaturityTenorArray, double[] floatFloatQuoteArray, java.lang.String floatFloatMeasure, java.lang.String[] syntheticFloatFloatMaturityTenorArray, double[] syntheticFloatFloatQuoteArray, java.lang.String syntheticFloatFloatMeasure, MergedDiscountForwardCurve mergedDiscountForwardCurve, ForwardCurve referenceForwardCurve, SegmentCustomBuilderControl segmentCustomBuilderControl)Construct a Instance of the Forward Curve off of Exchange/OTC Market Instruments- Parameters:
spotDate
- Spot DateforwardLabel
- Forward LabeldepositMaturityTenorArray
- Array of Deposit Maturity TenorsdepositQuoteArray
- Array of the Deposit Instrument QuotesdepositMeasure
- The Deposit Instrument Calibration MeasurefraMaturityTenorArray
- Array of FRA Maturity TenorsfraQuoteArray
- Array of the FRA Instrument QuotesfraMeasure
- The FRA Instrument Calibration MeasurefixFloatMaturityTenorArray
- Array of Fix-Float Maturity TenorsfixFloatQuoteArray
- Array of the Fix-Float QuotesfixFloatMeasure
- The Fix-Float Calibration MeasurefloatFloatMaturityTenorArray
- Array of Float-Float Maturity TenorsfloatFloatQuoteArray
- Array of the Float-Float QuotesfloatFloatMeasure
- The Float-Float Calibration MeasuresyntheticFloatFloatMaturityTenorArray
- Array of Synthetic Float-Float Maturity TenorssyntheticFloatFloatQuoteArray
- Array of the Synthetic Float-Float QuotessyntheticFloatFloatMeasure
- The Synthetic Float-Float Calibration MeasuremergedDiscountForwardCurve
- The Base Discount CurvereferenceForwardCurve
- The Reference Forward CurvesegmentCustomBuilderControl
- Segment Custom Builder Control Parameters- Returns:
- Instance of the Forward Curve
-
ShapePreservingForwardCurve
public static final ForwardCurve ShapePreservingForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference)Construct a Instance of the Shape Preserving Forward Curve off of Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DateforwardLabel
- Forward LabelastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of the Deposit Instrument QuotesstrDepositMeasure
- The Deposit Instrument Calibration MeasureastrFRAMaturityTenor
- Array of FRA Maturity TenorsadblFRAQuote
- Array of the FRA Instrument QuotesstrFRAMeasure
- The FRA Instrument Calibration MeasureastrFixFloatMaturityTenor
- Array of Fix-Float Maturity TenorsadblFixFloatQuote
- Array of the Fix-Float QuotesstrFixFloatMeasure
- The Fix-Float Calibration MeasureastrFloatFloatMaturityTenor
- Array of Float-Float Maturity TenorsadblFloatFloatQuote
- Array of the Float-Float QuotesstrFloatFloatMeasure
- The Float-Float Calibration MeasureastrSyntheticFloatFloatMaturityTenor
- Array of Synthetic Float-Float Maturity TenorsadblSyntheticFloatFloatQuote
- Array of the Synthetic Float-Float QuotesstrSyntheticFloatFloatMeasure
- The Synthetic Float-Float Calibration Measuredc
- The Base Discount CurvefcReference
- The Reference Forward Curve- Returns:
- Instance of the Forward Curve
-
SmoothForwardCurve
public static final ForwardCurve SmoothForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference)Construct a Instance of Smooth Forward Curve off of Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DateforwardLabel
- Forward LabelastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of the Deposit Instrument QuotesstrDepositMeasure
- The Deposit Instrument Calibration MeasureastrFRAMaturityTenor
- Array of FRA Maturity TenorsadblFRAQuote
- Array of the FRA Instrument QuotesstrFRAMeasure
- The FRA Instrument Calibration MeasureastrFixFloatMaturityTenor
- Array of Fix-Float Maturity TenorsadblFixFloatQuote
- Array of the Fix-Float QuotesstrFixFloatMeasure
- The Fix-Float Calibration MeasureastrFloatFloatMaturityTenor
- Array of Float-Float Maturity TenorsadblFloatFloatQuote
- Array of the Float-Float QuotesstrFloatFloatMeasure
- The Float-Float Calibration MeasureastrSyntheticFloatFloatMaturityTenor
- Array of Synthetic Float-Float Maturity TenorsadblSyntheticFloatFloatQuote
- Array of the Synthetic Float-Float QuotesstrSyntheticFloatFloatMeasure
- The Synthetic Float-Float Calibration Measuredc
- The Base Discount CurvefcReference
- The Reference Forward Curve- Returns:
- Instance of the Forward Curve
-
ForwardCurve
public static final ForwardCurve ForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference, int iLatentStateType)Construct a Instance of the Smooth/Shape Preserving Forward Curve off of Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DateforwardLabel
- Forward LabelastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of the Deposit Instrument QuotesstrDepositMeasure
- The Deposit Instrument Calibration MeasureastrFRAMaturityTenor
- Array of FRA Maturity TenorsadblFRAQuote
- Array of the FRA Instrument QuotesstrFRAMeasure
- The FRA Instrument Calibration MeasureastrFixFloatMaturityTenor
- Array of Fix-Float Maturity TenorsadblFixFloatQuote
- Array of the Fix-Float QuotesstrFixFloatMeasure
- The Fix-Float Calibration MeasureastrFloatFloatMaturityTenor
- Array of Float-Float Maturity TenorsadblFloatFloatQuote
- Array of the Float-Float QuotesstrFloatFloatMeasure
- The Float-Float Calibration MeasureastrSyntheticFloatFloatMaturityTenor
- Array of Synthetic Float-Float Maturity TenorsadblSyntheticFloatFloatQuote
- Array of the Synthetic Float-Float QuotesstrSyntheticFloatFloatMeasure
- The Synthetic Float-Float Calibration Measuredc
- The Base Discount CurvefcReference
- The Reference Forward CurveiLatentStateType
- SHAPE_PRESERVING/SMOOTH- Returns:
- Instance of the Forward Curve
-
OvernightCurve
public static final MergedDiscountForwardCurve OvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure, SegmentCustomBuilderControl scbc)Construct an Overnight Curve from Overnight Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit MeasureastrShortEndOISMaturityTenor
- Array of Short End OIS Maturity TenorsadblShortEndOISQuote
- Array of Short End OIS QuotesstrShortEndOISMeasure
- Short End OIS MeasureastrOISFuturesEffectiveTenor
- Array of OIS Futures Effective TenorsastrOISFuturesMaturityTenor
- Array of OIS Futures Maturity TenorsadblOISFuturesQuote
- Array of OIS Futures QuotesstrOISFuturesMeasure
- OIS Futures MeasureastrLongEndOISMaturityTenor
- Array of Long End OIS Maturity TenorsadblLongEndOISQuote
- Array of Long End OIS QuotesstrLongEndOISMeasure
- Long End OIS Measurescbc
- Segment Custom Builder Control- Returns:
- Overnight Curve from Overnight OTC Instruments
-
ShapePreservingOvernightCurve
public static final MergedDiscountForwardCurve ShapePreservingOvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure)Construct a Shape Preserving Overnight Curve from Overnight Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit MeasureastrShortEndOISMaturityTenor
- Array of Short End OIS Maturity TenorsadblShortEndOISQuote
- Array of Short End OIS QuotesstrShortEndOISMeasure
- Short End OIS MeasureastrOISFuturesEffectiveTenor
- Array of OIS Futures Effective TenorsastrOISFuturesMaturityTenor
- Array of OIS Futures Maturity TenorsadblOISFuturesQuote
- Array of OIS Futures QuotesstrOISFuturesMeasure
- OIS Futures MeasureastrLongEndOISMaturityTenor
- Array of Long End OIS Maturity TenorsadblLongEndOISQuote
- Array of Long End OIS QuotesstrLongEndOISMeasure
- Long End OIS Measure- Returns:
- Overnight Curve from Overnight OTC Instruments
-
SmoothOvernightCurve
public static final MergedDiscountForwardCurve SmoothOvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure)Construct a Smooth Overnight Curve from Overnight Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit MeasureastrShortEndOISMaturityTenor
- Array of Short End OIS Maturity TenorsadblShortEndOISQuote
- Array of Short End OIS QuotesstrShortEndOISMeasure
- Short End OIS MeasureastrOISFuturesEffectiveTenor
- Array of OIS Futures Effective TenorsastrOISFuturesMaturityTenor
- Array of OIS Futures Maturity TenorsadblOISFuturesQuote
- Array of OIS Futures QuotesstrOISFuturesMeasure
- OIS Futures MeasureastrLongEndOISMaturityTenor
- Array of Long End OIS Maturity TenorsadblLongEndOISQuote
- Array of Long End OIS QuotesstrLongEndOISMeasure
- Long End OIS Measure- Returns:
- Overnight Curve from Overnight OTC Instruments
-
OvernightCurve
public static final MergedDiscountForwardCurve OvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure, int iLatentStateType)Construct an Overnight Curve from Overnight Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit MeasureastrShortEndOISMaturityTenor
- Array of Short End OIS Maturity TenorsadblShortEndOISQuote
- Array of Short End OIS QuotesstrShortEndOISMeasure
- Short End OIS MeasureastrOISFuturesEffectiveTenor
- Array of OIS Futures Effective TenorsastrOISFuturesMaturityTenor
- Array of OIS Futures Maturity TenorsadblOISFuturesQuote
- Array of OIS Futures QuotesstrOISFuturesMeasure
- OIS Futures MeasureastrLongEndOISMaturityTenor
- Array of Long End OIS Maturity TenorsadblLongEndOISQuote
- Array of Long End OIS QuotesstrLongEndOISMeasure
- Long End OIS MeasureiLatentStateType
- SHAPE PRESERVING/SMOOTH- Returns:
- Overnight Curve from Overnight OTC Instruments
-
CreditCurve
public static final CreditCurve CreditCurve(JulianDate dtSpot, java.lang.String strCredit, java.lang.String[] astrMaturityTenor, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc)Construct a Credit Curve from Overnight Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DatestrCredit
- Credit CurveastrMaturityTenor
- Maturity TenoradblCoupon
- Coupon ArrayadblQuote
- Array of Market QuotesstrMeasure
- Calibration Measuredc
- Discount Curve- Returns:
- The Credit Curve Instance
-
CreditCurve
public static final CreditCurve CreditCurve(JulianDate dtSpot, CreditDefaultSwap[] aCDS, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc)Construct a Credit Curve from the specified Calibration CDS Instruments- Parameters:
dtSpot
- Spot DateaCDS
- Array of the Calibration CDS InstrumentsadblQuote
- Array of Market QuotesstrMeasure
- Calibration Measuredc
- Discount Curve- Returns:
- The Credit Curve Instance
-
GovvieCurve
public static final GovvieCurve GovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, SegmentCustomBuilderControl scbc)Construct a Govvie Curve from the Treasury Instruments- Parameters:
strCode
- Treasury CodedtSpot
- Spot DateadtEffective
- Array of Effective DatesadtMaturity
- Array of Maturity DatesadblCoupon
- Array of CouponsadblQuote
- Array of Market QuotesstrMeasure
- Calibration Measurescbc
- Segment Custom Builder Control Parameters- Returns:
- The Govvie Curve Instance
-
ShapePreservingGovvieCurve
public static final GovvieCurve ShapePreservingGovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure)Construct a Shape Preserving Govvie Curve from the Treasury Instruments- Parameters:
strCode
- Treasury CodedtSpot
- Spot DateadtEffective
- Array of Effective DatesadtMaturity
- Array of Maturity DatesadblCoupon
- Array of CouponsadblQuote
- Array of Market QuotesstrMeasure
- Calibration Measure- Returns:
- The Govvie Curve Instance
-
SmoothGovvieCurve
public static final GovvieCurve SmoothGovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure)Construct a Smooth Govvie Curve from the Treasury Instruments- Parameters:
strCode
- Treasury CodedtSpot
- Spot DateadtEffective
- Array of Effective DatesadtMaturity
- Array of Maturity DatesadblCoupon
- Array of CouponsadblQuote
- Array of Market QuotesstrMeasure
- Calibration Measure- Returns:
- The Govvie Curve Instance
-
GovvieCurve
public static final GovvieCurve GovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, int iLatentStateType)Construct a Govvie Curve from the Treasury Instruments- Parameters:
strCode
- Treasury CodedtSpot
- Spot DateadtEffective
- Array of Effective DatesadtMaturity
- Array of Maturity DatesadblCoupon
- Array of CouponsadblQuote
- Array of Market QuotesstrMeasure
- Calibration MeasureiLatentStateType
- SHAPE PRESERVING/SMOOTH- Returns:
- The Govvie Curve Instance
-
FXCurve
public static final FXCurve FXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot, SegmentCustomBuilderControl scbc)Construct an FX Curve from the FX Forward Instruments- Parameters:
dtSpot
- Spot Datecp
- The FX Currency PairastrMaturityTenor
- Array of Maturity TenorsadblQuote
- Array of FX ForwardsstrMeasure
- Calibration MeasuredblFXSpot
- FX Spotscbc
- Segment Custom Builder Builder Parameters- Returns:
- The FX Curve Instance
-
ShapePreservingFXCurve
public static final FXCurve ShapePreservingFXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot)Construct a Shape Preserving FX Curve from the FX Forward Instruments- Parameters:
dtSpot
- Spot Datecp
- The FX Currency PairastrMaturityTenor
- Array of Maturity TenorsadblQuote
- Array of FX ForwardsstrMeasure
- Calibration MeasuredblFXSpot
- FX Spot- Returns:
- The FX Curve Instance
-
SmoothFXCurve
public static final FXCurve SmoothFXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot)Construct a Smooth FX Curve from the FX Forward Instruments- Parameters:
dtSpot
- Spot Datecp
- The FX Currency PairastrMaturityTenor
- Array of Maturity TenorsadblQuote
- Array of FX ForwardsstrMeasure
- Calibration MeasuredblFXSpot
- FX Spot- Returns:
- The FX Curve Instance
-
FXCurve
public static final FXCurve FXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot, int iLatentStateType)Construct an FX Curve from the FX Forward Instruments- Parameters:
dtSpot
- Spot Datecp
- The FX Currency PairastrMaturityTenor
- Array of Maturity TenorsadblQuote
- Array of FX ForwardsstrMeasure
- Calibration MeasuredblFXSpot
- FX SpotiLatentStateType
- SHAPE PRESERVING/SMOOTH- Returns:
- The FX Curve Instance
-
ForwardRateVolatilityCurve
public static final VolatilityCurve ForwardRateVolatilityCurve(JulianDate dtSpot, ForwardLabel forwardLabel, boolean bIsCap, java.lang.String[] astrMaturityTenor, double[] adblStrike, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc, ForwardCurve fc)Forward Rate Volatility Latent State Construction from Cap/Floor Instruments- Parameters:
dtSpot
- Spot DateforwardLabel
- Forward LabelbIsCap
- TRUE - Create and Use Array of CapsastrMaturityTenor
- Array of Cap/floor MaturitiesadblStrike
- Array of Cap/Floor StrikesadblQuote
- Array of Cap/Floor QuotesstrMeasure
- Calibration Measuredc
- Discount Curve Instancefc
- Forward Curve Instance- Returns:
- Instance of the Forward Rate Volatility Curve
-
BumpedFundingCurve
public static final CaseInsensitiveTreeMap<MergedDiscountForwardCurve> BumpedFundingCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, double[] adblFuturesQuote, java.lang.String strFuturesMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)Construct a Map of Tenor Bumped Funding Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
dtSpot
- The Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit Calibration MeasureadblFuturesQuote
- Array of Futures QuotesstrFuturesMeasure
- Futures Calibration MeasureastrFixFloatMaturityTenor
- Array of Fix Float Swap Maturity TenorsadblFixFloatQuote
- Array of Fix Float Swap QuotesstrFixFloatMeasure
- Fix Float Calibration MeasureiLatentStateType
- SHAPE_PRESERVING/SMOOTHdblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- The Tenor Bumped Funding Curve Map
-
BumpedForwardFundingCurve
public static final CaseInsensitiveTreeMap<MergedDiscountForwardCurve> BumpedForwardFundingCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, double[] adblFuturesQuote, java.lang.String strFuturesMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)Construct a Map of Tenor Bumped Funding Curve Based off of the Underlying Forward Curve Shift- Parameters:
dtSpot
- The Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit Calibration MeasureadblFuturesQuote
- Array of Futures QuotesstrFuturesMeasure
- Futures Calibration MeasureastrFixFloatMaturityTenor
- Array of Fix Float Swap Maturity TenorsadblFixFloatQuote
- Array of Fix Float Swap QuotesstrFixFloatMeasure
- Fix Float Calibration MeasureiLatentStateType
- SHAPE_PRESERVING/SMOOTHdblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- The Tenor Bumped Funding Curve Map
-
BumpedForwardCurve
public static final CaseInsensitiveTreeMap<ForwardCurve> BumpedForwardCurve(JulianDate dtSpot, ForwardLabel forwardLabel, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrFRAMaturityTenor, double[] adblFRAQuote, java.lang.String strFRAMeasure, java.lang.String[] astrFixFloatMaturityTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatMeasure, java.lang.String[] astrFloatFloatMaturityTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatMeasure, java.lang.String[] astrSyntheticFloatFloatMaturityTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatMeasure, MergedDiscountForwardCurve dc, ForwardCurve fcReference, int iLatentStateType, double dblBump, boolean bIsProportional)Construct a Map of Tenor Bumped Forward Curve Based off of the Input Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DateforwardLabel
- Forward LabelastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of the Deposit Instrument QuotesstrDepositMeasure
- The Deposit Instrument Calibration MeasureastrFRAMaturityTenor
- Array of FRA Maturity TenorsadblFRAQuote
- Array of the FRA Instrument QuotesstrFRAMeasure
- The FRA Instrument Calibration MeasureastrFixFloatMaturityTenor
- Array of Fix-Float Maturity TenorsadblFixFloatQuote
- Array of the Fix-Float QuotesstrFixFloatMeasure
- The Fix-Float Calibration MeasureastrFloatFloatMaturityTenor
- Array of Float-Float Maturity TenorsadblFloatFloatQuote
- Array of the Float-Float QuotesstrFloatFloatMeasure
- The Float-Float Calibration MeasureastrSyntheticFloatFloatMaturityTenor
- Array of Synthetic Float-Float Maturity TenorsadblSyntheticFloatFloatQuote
- Array of the Synthetic Float-Float QuotesstrSyntheticFloatFloatMeasure
- The Synthetic Float-Float Calibration Measuredc
- The Base Discount CurvefcReference
- The Reference Forward CurveiLatentStateType
- SHAPE_PRESERVING/SMOOTHdblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- The Tenor Bumped Forward Curve Map
-
BumpedOvernightCurve
public static final CaseInsensitiveTreeMap<MergedDiscountForwardCurve> BumpedOvernightCurve(JulianDate dtSpot, java.lang.String strCurrency, java.lang.String[] astrDepositMaturityTenor, double[] adblDepositQuote, java.lang.String strDepositMeasure, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String strShortEndOISMeasure, java.lang.String[] astrOISFuturesEffectiveTenor, java.lang.String[] astrOISFuturesMaturityTenor, double[] adblOISFuturesQuote, java.lang.String strOISFuturesMeasure, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, java.lang.String strLongEndOISMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)Construct a Map of Tenor + Parallel Bumped Overnight Curves- Parameters:
dtSpot
- Spot DatestrCurrency
- CurrencyastrDepositMaturityTenor
- Array of Deposit Maturity TenorsadblDepositQuote
- Array of Deposit QuotesstrDepositMeasure
- Deposit MeasureastrShortEndOISMaturityTenor
- Array of Short End OIS Maturity TenorsadblShortEndOISQuote
- Array of Short End OIS QuotesstrShortEndOISMeasure
- Short End OIS MeasureastrOISFuturesEffectiveTenor
- Array of OIS Futures Effective TenorsastrOISFuturesMaturityTenor
- Array of OIS Futures Maturity TenorsadblOISFuturesQuote
- Array of OIS Futures QuotesstrOISFuturesMeasure
- OIS Futures MeasureastrLongEndOISMaturityTenor
- Array of Long End OIS Maturity TenorsadblLongEndOISQuote
- Array of Long End OIS QuotesstrLongEndOISMeasure
- Long End OIS MeasureiLatentStateType
- SHAPE PRESERVING/SMOOTHdblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- Map of Overnight Curves
-
BumpedCreditCurve
public static final CaseInsensitiveTreeMap<CreditCurve> BumpedCreditCurve(JulianDate dtSpot, java.lang.String strCredit, java.lang.String[] astrMaturityTenor, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc, double dblBump, boolean bIsProportional)Construct a Tenor + Parallel Map of Bumped Credit Curves from Overnight Exchange/OTC Market Instruments- Parameters:
dtSpot
- Spot DatestrCredit
- Credit CurveastrMaturityTenor
- Maturity TenoradblCoupon
- Coupon ArrayadblQuote
- Array of Market QuotesstrMeasure
- Calibration Measuredc
- Discount CurvedblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- Map of Bumped Credit Curves
-
BumpedGovvieCurve
public static final CaseInsensitiveTreeMap<GovvieCurve> BumpedGovvieCurve(java.lang.String strCode, JulianDate dtSpot, JulianDate[] adtEffective, JulianDate[] adtMaturity, double[] adblCoupon, double[] adblQuote, java.lang.String strMeasure, int iLatentStateType, double dblBump, boolean bIsProportional)Construct a Tenor + Parallel Map of Govvie Curves from the Treasury Instruments- Parameters:
strCode
- The Govvie CodedtSpot
- Spot DateadtEffective
- Array of Effective DatesadtMaturity
- Array of Maturity DatesadblCoupon
- Array of CouponsadblQuote
- Array of Market QuotesstrMeasure
- Calibration MeasureiLatentStateType
- SHAPE PRESERVING/SMOOTHdblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- Map of Govvie Curve Instance
-
BumpedFXCurve
public static final CaseInsensitiveTreeMap<FXCurve> BumpedFXCurve(JulianDate dtSpot, CurrencyPair cp, java.lang.String[] astrMaturityTenor, double[] adblQuote, java.lang.String strMeasure, double dblFXSpot, int iLatentStateType, double dblBump, boolean bIsProportional)Construct a Tenor + Parallel Map of FX Curve from the FX Instruments- Parameters:
dtSpot
- Spot Datecp
- The FX Currency PairastrMaturityTenor
- Array of Maturity TenorsadblQuote
- Array of FX ForwardsstrMeasure
- Calibration MeasuredblFXSpot
- FX SpotiLatentStateType
- SHAPE PRESERVING/SMOOTHdblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- Map of FX Curve Instance
-
BumpedForwardVolatilityCurve
public static final CaseInsensitiveTreeMap<VolatilityCurve> BumpedForwardVolatilityCurve(JulianDate dtSpot, ForwardLabel forwardLabel, boolean bIsCap, java.lang.String[] astrMaturityTenor, double[] adblStrike, double[] adblQuote, java.lang.String strMeasure, MergedDiscountForwardCurve dc, ForwardCurve fc, double dblBump, boolean bIsProportional)Construct a Tenor + Parallel Forward Volatility Latent State Construction from Cap/Floor Instruments- Parameters:
dtSpot
- Spot DateforwardLabel
- Forward LabelbIsCap
- TRUE - Create and Use Array of CapsastrMaturityTenor
- Array of Cap/floor MaturitiesadblStrike
- Array of Cap/Floor StrikesadblQuote
- Array of Cap/Floor QuotesstrMeasure
- Calibration Measuredc
- Discount Curve Instancefc
- Forward Curve InstancedblBump
- The Tenor Node Bump AmountbIsProportional
- TRUE - The Bump Applied is Proportional- Returns:
- Map of Forward Volatility Curve Instance
-