Package org.drip.sample.forward
Class IBORCurve
java.lang.Object
org.drip.sample.forward.IBORCurve
public class IBORCurve
extends java.lang.Object
IBORCurve illustrates the Construction and Usage of the IBOR Forward Curve.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = DROP API Construction and Usage
- Package = IBOR Spline Forward Curve Construction
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description IBORCurve() -
Method Summary
Modifier and Type Method Description static ForwardCurveCustomIBORBuilderSample(MergedDiscountForwardCurve dc, ForwardCurve fcReference, ForwardLabel fri, SegmentCustomBuilderControl scbc, java.lang.String[] astrDepositTenor, double[] adblDepositQuote, java.lang.String strDepositCalibMeasure, java.lang.String[] astrFRATenor, double[] adblFRAQuote, java.lang.String strFRACalibMeasure, java.lang.String[] astrFixFloatTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatCalibMeasure, java.lang.String[] astrFloatFloatTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatCalibMeasure, java.lang.String[] astrSyntheticFloatFloatTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatCalibMeasure, java.lang.String strHeaderComment, boolean bPrintMetric)Construct the Custom IBOR Sample Curvestatic ForwardCurveCustomIBORBuilderSample2(MergedDiscountForwardCurve dc, ForwardCurve fcReference, ForwardLabel fri, SegmentCustomBuilderControl scbc, java.lang.String[] astrDepositTenor, double[] adblDepositQuote, java.lang.String strDepositCalibMeasure, java.lang.String[] astrFRATenor, double[] adblFRAQuote, java.lang.String strFRACalibMeasure, java.lang.String[] astrFixFloatTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatCalibMeasure, java.lang.String[] astrComponentPairTenor, double[] adblComponentPairQuote, java.lang.String strComponentPairCalibMeasure, java.lang.String[] astrSyntheticComponentPairTenor, double[] adblSyntheticComponentPairQuote, java.lang.String strSyntheticComponentPairCalibMeasure, java.lang.String strHeaderComment, boolean bPrintMetric)Construct the Custom IBOR Sample Curve #2static voidForwardJack(JulianDate dt, java.lang.String strHeaderComment, ForwardCurve fc, java.lang.String strManifestMeasure)Display the Forward JacobianMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IBORCurve
public IBORCurve()
-
-
Method Details
-
CustomIBORBuilderSample
public static final ForwardCurve CustomIBORBuilderSample(MergedDiscountForwardCurve dc, ForwardCurve fcReference, ForwardLabel fri, SegmentCustomBuilderControl scbc, java.lang.String[] astrDepositTenor, double[] adblDepositQuote, java.lang.String strDepositCalibMeasure, java.lang.String[] astrFRATenor, double[] adblFRAQuote, java.lang.String strFRACalibMeasure, java.lang.String[] astrFixFloatTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatCalibMeasure, java.lang.String[] astrFloatFloatTenor, double[] adblFloatFloatQuote, java.lang.String strFloatFloatCalibMeasure, java.lang.String[] astrSyntheticFloatFloatTenor, double[] adblSyntheticFloatFloatQuote, java.lang.String strSyntheticFloatFloatCalibMeasure, java.lang.String strHeaderComment, boolean bPrintMetric) throws java.lang.ExceptionConstruct the Custom IBOR Sample Curve- Parameters:
dc- Discount CurvefcReference- Reference Forward Curvefri- Floating Rate Indexscbc- Segment Custom Builder ControlastrDepositTenor- Deposit Tenor ArrayadblDepositQuote- Deposit Quote ArraystrDepositCalibMeasure- Deposit Calibration MeasureastrFRATenor- FRA Tenor ArrayadblFRAQuote- FRA Quote ArraystrFRACalibMeasure- FRA Calibration Measure ArrayastrFixFloatTenor- Fix-Float Tenor ArrayadblFixFloatQuote- Fix-Float Quote ArraystrFixFloatCalibMeasure- Fix-Float Calibration MeasureastrFloatFloatTenor- Float-float Tenor ArrayadblFloatFloatQuote- Float-Float Quote ArraystrFloatFloatCalibMeasure- Float-float Calibration MeasureastrSyntheticFloatFloatTenor- Synthetic Float-float Tenor ArrayadblSyntheticFloatFloatQuote- Synthetic Float-float Quote ArraystrSyntheticFloatFloatCalibMeasure- Synthetic Float-float MeasurestrHeaderComment- Header CommentbPrintMetric- TRUE - Print Metric- Returns:
- The Custom IBOR Sample Curve
- Throws:
java.lang.Exception- Thrown if the Custom IBOR Sample Curve cannot be constructed
-
CustomIBORBuilderSample2
public static final ForwardCurve CustomIBORBuilderSample2(MergedDiscountForwardCurve dc, ForwardCurve fcReference, ForwardLabel fri, SegmentCustomBuilderControl scbc, java.lang.String[] astrDepositTenor, double[] adblDepositQuote, java.lang.String strDepositCalibMeasure, java.lang.String[] astrFRATenor, double[] adblFRAQuote, java.lang.String strFRACalibMeasure, java.lang.String[] astrFixFloatTenor, double[] adblFixFloatQuote, java.lang.String strFixFloatCalibMeasure, java.lang.String[] astrComponentPairTenor, double[] adblComponentPairQuote, java.lang.String strComponentPairCalibMeasure, java.lang.String[] astrSyntheticComponentPairTenor, double[] adblSyntheticComponentPairQuote, java.lang.String strSyntheticComponentPairCalibMeasure, java.lang.String strHeaderComment, boolean bPrintMetric) throws java.lang.ExceptionConstruct the Custom IBOR Sample Curve #2- Parameters:
dc- Discount CurvefcReference- Reference Forward Curvefri- Floating Rate Indexscbc- Segment Custom Builder ControlastrDepositTenor- Deposit Tenor ArrayadblDepositQuote- Deposit Quote ArraystrDepositCalibMeasure- Deposit Calibration MeasureastrFRATenor- FRA Tenor ArrayadblFRAQuote- FRA Quote ArraystrFRACalibMeasure- FRA Calibration Measure ArrayastrFixFloatTenor- Fix-Float Tenor ArrayadblFixFloatQuote- Fix-Float Quote ArraystrFixFloatCalibMeasure- Fix-Float Calibration MeasureastrComponentPairTenor- Component Pair Tenor ArrayadblComponentPairQuote- Component Pair Quote ArraystrComponentPairCalibMeasure- Component Pair Calibration MeasureastrSyntheticComponentPairTenor- Synthetic Component Pair Tenor ArrayadblSyntheticComponentPairQuote- Synthetic Component Pair Quote ArraystrSyntheticComponentPairCalibMeasure- Synthetic Component Pair MeasurestrHeaderComment- Header CommentbPrintMetric- TRUE - Print Metric- Returns:
- The Custom IBOR Sample Curve
- Throws:
java.lang.Exception- Thrown if the Custom IBOR Sample Curve cannot be constructed
-
ForwardJack
public static final void ForwardJack(JulianDate dt, java.lang.String strHeaderComment, ForwardCurve fc, java.lang.String strManifestMeasure)Display the Forward Jacobian- Parameters:
dt- DatestrHeaderComment- Header Commentfc- Forward CurvestrManifestMeasure- Manifest Measure
-