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.



Author:
Lakshmi Krishnamurthy
  • 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.Exception
      Set the Forward Curve Reference Component Basis
      Parameters:
      strReferenceCurrency - Reference Currency
      strDerivedCurrency - Derived Currency
      dtValue - Valuation Date
      dcReference - Reference Discount Curve
      fc6MReference - 6M Reference Forward Curve
      fc3MReference - 3M Reference Forward Curve
      dcDerived - Derived Discount Curve
      fc6MDerived - 6M Derived Forward Curve
      dblRefDerFX - Reference/Forward FX Rate
      scbc - Segment Custom Builder Control
      astrTenor - Tenor Array
      adblCrossCurrencyBasis - Cross Currency Basis Array
      bBasisOnDerivedLeg - TRUE - Basis on Derived Leg
      Throws:
      java.lang.Exception - Thrown if the Forward Curve Reference Component Basis cannot be calculated