public class ComposableUnitFloatingPeriod extends ComposableUnitPeriod
NODE_INSIDE_SEGMENT, NODE_LEFT_OF_SEGMENT, NODE_RIGHT_OF_SEGMENT
Constructor and Description |
---|
ComposableUnitFloatingPeriod(int iStartDate,
int iEndDate,
java.lang.String strTenor,
ReferenceIndexPeriod refIndexPeriod,
double dblSpread)
The ComposableUnitFloatingPeriod constructor
|
Modifier and Type | Method and Description |
---|---|
double |
baseRate(CurveSurfaceQuoteContainer csqs)
Retrieve the Reference Rate for the Floating Period
|
double |
basis()
Get the Period Coupon Basis
|
java.lang.String |
couponCurrency()
Get the Period Coupon Currency
|
ReferenceIndexPeriod |
referenceIndexPeriod()
Retrieve the Reference Index Period
|
accrualCompoundingRule, accrualDC, accrualDCF, accrualEOMAdjustment, calendar, couponDC, couponDCFOffOfFreq, couponEOMAdjustment, dateLocation, endDate, freq, fullCouponDCF, fullCouponRate, startDate, tenor
public ComposableUnitFloatingPeriod(int iStartDate, int iEndDate, java.lang.String strTenor, ReferenceIndexPeriod refIndexPeriod, double dblSpread) throws java.lang.Exception
iStartDate
- Accrual Start DateiEndDate
- Accrual End DatestrTenor
- The Composable Period TenorrefIndexPeriod
- The Reference Index PerioddblSpread
- The Floater Spreadjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double baseRate(CurveSurfaceQuoteContainer csqs) throws java.lang.Exception
baseRate
in class ComposableUnitPeriod
csqs
- The Market Curve and Surfacejava.lang.Exception
- Thrown if the inputs are invalidpublic double basis()
ComposableUnitPeriod
basis
in class ComposableUnitPeriod
public java.lang.String couponCurrency()
ComposableUnitPeriod
couponCurrency
in class ComposableUnitPeriod
public ReferenceIndexPeriod referenceIndexPeriod()