Package org.drip.sample.forward
Class OvernightIndexCurve
java.lang.Object
org.drip.sample.forward.OvernightIndexCurve
public class OvernightIndexCurve
extends java.lang.Object
OvernightIndexCurve illustrates the Construction and Usage of the Overnight Index Discount 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 OvernightIndexCurve()
-
Method Summary
Modifier and Type Method Description static MergedDiscountForwardCurve
MakeDC(java.lang.String strCurrency, JulianDate dtSpot, int[] aiDepositMaturityDays, double[] adblDepositQuote, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String[] astrOISFutureTenor, java.lang.String[] astrOISFutureMaturityTenor, double[] adblOISFutureQuote, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, SegmentCustomBuilderControl scbc, FloaterIndex fi)
Construct the Merged Forward Discount Curvestatic MergedDiscountForwardCurve
MakeDC(JulianDate dtSpot, java.lang.String strCurrency)
Construct an elaborate EONIA Discount CurveMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OvernightIndexCurve
public OvernightIndexCurve()
-
-
Method Details
-
MakeDC
public static final MergedDiscountForwardCurve MakeDC(java.lang.String strCurrency, JulianDate dtSpot, int[] aiDepositMaturityDays, double[] adblDepositQuote, java.lang.String[] astrShortEndOISMaturityTenor, double[] adblShortEndOISQuote, java.lang.String[] astrOISFutureTenor, java.lang.String[] astrOISFutureMaturityTenor, double[] adblOISFutureQuote, java.lang.String[] astrLongEndOISMaturityTenor, double[] adblLongEndOISQuote, SegmentCustomBuilderControl scbc, FloaterIndex fi) throws java.lang.ExceptionConstruct the Merged Forward Discount Curve- Parameters:
strCurrency
- CurrencydtSpot
- Spot DateaiDepositMaturityDays
- Deposit Maturity Days ArrayadblDepositQuote
- Deposit Quote ArrayastrShortEndOISMaturityTenor
- Short End OIS Maturity ArrayadblShortEndOISQuote
- Short End OIS Quote ArrayastrOISFutureTenor
- OIS Tenor Future ArrayastrOISFutureMaturityTenor
- OIS Tenor Future Maturity ArrayadblOISFutureQuote
- OIS Tenor Quote ArrayastrLongEndOISMaturityTenor
- Long End OIS Maturity ArrayadblLongEndOISQuote
- Long End OIS Quote Arrayscbc
- Segment Custom Builder Controlfi
- Floater Index- Returns:
- The Merged Forward Discount Curve
- Throws:
java.lang.Exception
- Thrown if the Merged Forward Discount Curve cannot be constructed
-
MakeDC
public static final MergedDiscountForwardCurve MakeDC(JulianDate dtSpot, java.lang.String strCurrency) throws java.lang.ExceptionConstruct an elaborate EONIA Discount Curve- Parameters:
dtSpot
- The Spot DatestrCurrency
- The Currency- Returns:
- Instance of the EONIA Discount Curve
- Throws:
java.lang.Exception
- Thrown if the OIS Discount Curve Could not be created
-