Package org.drip.sample.dual
Class CCBSForwardCurve
java.lang.Object
org.drip.sample.dual.CCBSForwardCurve
public class CCBSForwardCurve
extends java.lang.Object
CCBSForwardCurve demonstrates the setup and construction of the Forward Curve from the CCBS Quotes.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = DROP API Construction and Usage
- Package = G7 Standard Cross Currency Swap
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CCBSForwardCurve()
-
Method Summary
Modifier and Type Method Description static void
ForwardCurveReferenceComponentBasis(java.lang.String strReferenceCurrency, java.lang.String strDerivedCurrency, JulianDate dtValue, MergedDiscountForwardCurve dcReference, ForwardCurve fc6MReference, ForwardCurve fc3MReference, MergedDiscountForwardCurve dcDerived, ForwardCurve fc6MDerived, double dblRefDerFX, SegmentCustomBuilderControl scbc, java.lang.String[] astrTenor, double[] adblCrossCurrencyBasis, boolean bBasisOnDerivedLeg)
Set the Forward Curve Reference Component BasisMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CCBSForwardCurve
public CCBSForwardCurve()
-
-
Method Details
-
ForwardCurveReferenceComponentBasis
public static final void ForwardCurveReferenceComponentBasis(java.lang.String strReferenceCurrency, java.lang.String strDerivedCurrency, JulianDate dtValue, MergedDiscountForwardCurve dcReference, ForwardCurve fc6MReference, ForwardCurve fc3MReference, MergedDiscountForwardCurve dcDerived, ForwardCurve fc6MDerived, double dblRefDerFX, SegmentCustomBuilderControl scbc, java.lang.String[] astrTenor, double[] adblCrossCurrencyBasis, boolean bBasisOnDerivedLeg) throws java.lang.ExceptionSet the Forward Curve Reference Component Basis- Parameters:
strReferenceCurrency
- Reference CurrencystrDerivedCurrency
- Derived CurrencydtValue
- Valuation DatedcReference
- Reference Discount Curvefc6MReference
- 6M Reference Forward Curvefc3MReference
- 3M Reference Forward CurvedcDerived
- Derived Discount Curvefc6MDerived
- 6M Derived Forward CurvedblRefDerFX
- Reference/Forward FX Ratescbc
- Segment Custom Builder ControlastrTenor
- Tenor ArrayadblCrossCurrencyBasis
- Cross Currency Basis ArraybBasisOnDerivedLeg
- TRUE - Basis on Derived Leg- Throws:
java.lang.Exception
- Thrown if the Forward Curve Reference Component Basis cannot be calculated
-