Package org.drip.market.otc
Class FloatStreamConvention
java.lang.Object
org.drip.market.otc.FloatStreamConvention
public class FloatStreamConvention
extends java.lang.Object
FloatStreamConvention contains the details of the Floating Stream of an OTC IBOR/Overnight Fix-
Float Swap Contract.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FloatStreamConvention(ForwardLabel forwardLabel, java.lang.String strCompositePeriodTenor)
FloatStreamConvention Constructor -
Method Summary
Modifier and Type Method Description java.lang.String
compositePeriodTenor()
Retrieve the Composite Period TenorStream
createStream(JulianDate dtEffective, java.lang.String strMaturityTenor, double dblBasis, double dblNotional)
Create a Floating Stream InstanceForwardLabel
floaterIndex()
Retrieve the Forward Labeljava.lang.String
toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
FloatStreamConvention
public FloatStreamConvention(ForwardLabel forwardLabel, java.lang.String strCompositePeriodTenor) throws java.lang.ExceptionFloatStreamConvention Constructor- Parameters:
forwardLabel
- The Forward LabelstrCompositePeriodTenor
- Composite Period Tenor- Throws:
java.lang.Exception
- Thrown if Inputs are invalid
-
-
Method Details
-
floaterIndex
Retrieve the Forward Label- Returns:
- The Forward Label
-
compositePeriodTenor
public java.lang.String compositePeriodTenor()Retrieve the Composite Period Tenor- Returns:
- The Composite Period Tenor
-
createStream
public Stream createStream(JulianDate dtEffective, java.lang.String strMaturityTenor, double dblBasis, double dblNotional)Create a Floating Stream Instance- Parameters:
dtEffective
- Effective DatestrMaturityTenor
- Maturity TenordblBasis
- BasisdblNotional
- Notional- Returns:
- The Fixed Stream Instance
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-