public class FloatFloatSwapConvention
extends java.lang.Object
Constructor and Description |
---|
FloatFloatSwapConvention(java.lang.String strCurrency,
java.lang.String strReferenceTenor,
boolean bBasisOnDerivedStream,
boolean bBasisOnDerivedComponent,
boolean bIsDerivedCompoundedToReference,
boolean bIsComponentPair,
int iSpotLag)
FloatFloatSwapConvention Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
basisOnDerivedComponent()
Retrieve the Flag indicating whether the Basis is to be applied to the Derived or the Reference
Component
|
boolean |
basisOnDerivedStream()
Retrieve the Flag indicating whether the Basis is to be applied to the Derived or the Reference Stream
|
boolean |
componentPair()
Retrieve the Flag indicating whether the Float-Float Swap is a Component Pair of 2 Fix-Float Swaps
|
ComponentPair |
createFixFloatComponentPair(JulianDate dtSpot,
java.lang.String strDerivedTenor,
java.lang.String strMaturityTenor,
double dblReferenceFixedCoupon,
double dblDerivedFixedCoupon,
double dblBasis,
double dblNotional)
Create an Instance of the Fix-Float Component Pair
|
FloatFloatComponent |
createFloatFloatComponent(JulianDate dtSpot,
java.lang.String strDerivedTenor,
java.lang.String strMaturityTenor,
double dblBasis,
double dblNotional)
Create an Instance of the Float-Float Component
|
java.lang.String |
currency()
Retrieve the Currency
|
boolean |
derivedCompoundedToReference()
Retrieve the Flag indicating whether the Derived Periods are to be compounded onto the Reference
Period
|
java.lang.String |
referenceTenor()
Retrieve the Reference Tenor
|
int |
spotLag()
Retrieve the Spot Lag
|
public FloatFloatSwapConvention(java.lang.String strCurrency, java.lang.String strReferenceTenor, boolean bBasisOnDerivedStream, boolean bBasisOnDerivedComponent, boolean bIsDerivedCompoundedToReference, boolean bIsComponentPair, int iSpotLag) throws java.lang.Exception
strCurrency
- The CurrencystrReferenceTenor
- The Reference TenorbBasisOnDerivedStream
- TRUE - Apply the Basis to the Derived StreambBasisOnDerivedComponent
- TRUE - Apply the Basis to the Derived ComponentbIsDerivedCompoundedToReference
- TRUE - The Derived Periods are Compounded onto the ReferencebIsComponentPair
- TRUE - The Float-Float Swap is a Component Pair of 2 Fix-Float SwapsiSpotLag
- Spot Lagjava.lang.Exception
- Thrown if the Inputs are Invalidpublic java.lang.String currency()
public java.lang.String referenceTenor()
public boolean basisOnDerivedStream()
public boolean basisOnDerivedComponent()
public boolean derivedCompoundedToReference()
public boolean componentPair()
public int spotLag()
public FloatFloatComponent createFloatFloatComponent(JulianDate dtSpot, java.lang.String strDerivedTenor, java.lang.String strMaturityTenor, double dblBasis, double dblNotional)
dtSpot
- Spot DatestrDerivedTenor
- The Derived TenorstrMaturityTenor
- The Maturity TenordblBasis
- BasisdblNotional
- Notionalpublic ComponentPair createFixFloatComponentPair(JulianDate dtSpot, java.lang.String strDerivedTenor, java.lang.String strMaturityTenor, double dblReferenceFixedCoupon, double dblDerivedFixedCoupon, double dblBasis, double dblNotional)
dtSpot
- Spot DatestrDerivedTenor
- The Derived TenorstrMaturityTenor
- The Maturity TenordblReferenceFixedCoupon
- Fixed Coupon Rate for the Reference ComponentdblDerivedFixedCoupon
- Fixed Coupon Rate for the Derived ComponentdblBasis
- BasisdblNotional
- Notional