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 FixFloatComponentcreateFixFloatComponent(JulianDate dtSpot, java.lang.String strMaturityTenor, double dblFixedCoupon, double dblFloatBasis, double dblNotional)Create a Standardized Fixed-Float Component Instance from the InputsFixedStreamConventionfixedStreamConvention()Retrieve the Fixed Stream ConventionFloatStreamConventionfloatStreamConvention()Retrieve the Float Stream ConventionintspotLag()Retrieve the Spot Lagjava.lang.StringtoString()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:
toStringin classjava.lang.Object
-