Package org.drip.market.otc
Class FixedFloatSwapConvention
java.lang.Object
org.drip.market.otc.FixedFloatSwapConvention
public class FixedFloatSwapConvention
extends java.lang.Object
FixedFloatSwapConvention contains the Details of the Fixed-Float Swap Component of an OTC contact.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FixedFloatSwapConvention(FixedStreamConvention fixedConv, FloatStreamConvention floatConv, int iSpotLag)
FixedFloatSwapConvention Constructor -
Method Summary
Modifier and Type Method Description FixFloatComponent
createFixFloatComponent(JulianDate dtSpot, java.lang.String strMaturityTenor, double dblFixedCoupon, double dblFloatBasis, double dblNotional)
Create a Standardized Fixed-Float Component Instance from the InputsFixedStreamConvention
fixedStreamConvention()
Retrieve the Fixed Stream ConventionFloatStreamConvention
floatStreamConvention()
Retrieve the Float Stream 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
-
FixedFloatSwapConvention
public FixedFloatSwapConvention(FixedStreamConvention fixedConv, FloatStreamConvention floatConv, int iSpotLag) throws java.lang.ExceptionFixedFloatSwapConvention Constructor- Parameters:
fixedConv
- Fixed Stream ConventionfloatConv
- Float Stream ConventioniSpotLag
- Spot Lag- Throws:
java.lang.Exception
- Thrown if the Inputs are invalid
-
-
Method Details
-
fixedStreamConvention
Retrieve the Fixed Stream Convention- Returns:
- The Fixed Stream Convention
-
floatStreamConvention
Retrieve the Float Stream Convention- Returns:
- The Float Stream Convention
-
spotLag
public int spotLag()Retrieve the Spot Lag- Returns:
- The Spot Lag
-
createFixFloatComponent
public FixFloatComponent createFixFloatComponent(JulianDate dtSpot, java.lang.String strMaturityTenor, double dblFixedCoupon, double dblFloatBasis, double dblNotional)Create a Standardized Fixed-Float Component Instance from the Inputs- Parameters:
dtSpot
- The Spot DatestrMaturityTenor
- The Maturity TenordblFixedCoupon
- The Fixed CoupondblFloatBasis
- The Float BasisdblNotional
- Notional- Returns:
- The Standardized Fixed-Float Component Instance
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-