Package org.drip.market.otc
Class CrossFloatSwapConvention
java.lang.Object
org.drip.market.otc.CrossFloatSwapConvention
public class CrossFloatSwapConvention
extends java.lang.Object
CrossFloatSwapConvention contains the Details of the Cross-Currency Floating Swap of an OTC
Contract.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CrossFloatSwapConvention(CrossFloatStreamConvention crossStreamReference, CrossFloatStreamConvention crossStreamDerived, int iFixingType, boolean bFXMTM, int iSpotLag)
CrossFloatSwapConvention Constructor -
Method Summary
Modifier and Type Method Description FloatFloatComponent
createFloatFloatComponent(JulianDate dtSpot, java.lang.String strMaturityTenor, double dblBasis, double dblReferenceNotional, double dblDerivedNotional)
Create an Instance of the Float-Float ComponentCrossFloatStreamConvention
derivedConvention()
Retrieve the Derived Conventionint
fixingType()
Retrieve the Fixing Setting Typeboolean
isFXMTM()
Retrieve the FX MTM FlagCrossFloatStreamConvention
referenceConvention()
Retrieve the Reference Conventionint
spotLag()
Retrieve the Spot Lagjava.lang.String
toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
CrossFloatSwapConvention
public CrossFloatSwapConvention(CrossFloatStreamConvention crossStreamReference, CrossFloatStreamConvention crossStreamDerived, int iFixingType, boolean bFXMTM, int iSpotLag) throws java.lang.ExceptionCrossFloatSwapConvention Constructor- Parameters:
crossStreamReference
- Reference Cross Float StreamcrossStreamDerived
- Derived Cross Float StreamiFixingType
- Fixing TypebFXMTM
- TRUE - The Cross Currency Swap is of the FX MTM typeiSpotLag
- Spot Lag- Throws:
java.lang.Exception
- Thrown if Inputs are Invalid
-
-
Method Details
-
referenceConvention
Retrieve the Reference Convention- Returns:
- The Reference Convention
-
derivedConvention
Retrieve the Derived Convention- Returns:
- The Derived Convention
-
fixingType
public int fixingType()Retrieve the Fixing Setting Type- Returns:
- The Fixing Setting Type
-
spotLag
public int spotLag()Retrieve the Spot Lag- Returns:
- The Spot Lag
-
isFXMTM
public boolean isFXMTM()Retrieve the FX MTM Flag- Returns:
- The FX MTM Flag
-
createFloatFloatComponent
public FloatFloatComponent createFloatFloatComponent(JulianDate dtSpot, java.lang.String strMaturityTenor, double dblBasis, double dblReferenceNotional, double dblDerivedNotional)Create an Instance of the Float-Float Component- Parameters:
dtSpot
- Spot DatestrMaturityTenor
- The Maturity TenordblBasis
- BasisdblReferenceNotional
- Notional of the Reference StreamdblDerivedNotional
- Notional of the Derived Stream- Returns:
- Instance of the Float-Float Component
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-