public class ComposableUnitFixedPeriod extends ComposableUnitPeriod
NODE_INSIDE_SEGMENT, NODE_LEFT_OF_SEGMENT, NODE_RIGHT_OF_SEGMENT
Constructor and Description |
---|
ComposableUnitFixedPeriod(int iStartDate,
int iEndDate,
UnitCouponAccrualSetting ucas,
ComposableFixedUnitSetting cufs)
The ComposableUnitFixedPeriod constructor
|
Modifier and Type | Method and Description |
---|---|
double |
baseRate(CurveSurfaceQuoteContainer csqs)
Get the Period Base Coupon Rate
|
double |
basis()
Get the Period Coupon Basis
|
java.lang.String |
couponCurrency()
Get the Period Coupon Currency
|
accrualCompoundingRule, accrualDC, accrualDCF, accrualEOMAdjustment, calendar, couponDC, couponDCFOffOfFreq, couponEOMAdjustment, dateLocation, endDate, freq, fullCouponDCF, fullCouponRate, startDate, tenor
public ComposableUnitFixedPeriod(int iStartDate, int iEndDate, UnitCouponAccrualSetting ucas, ComposableFixedUnitSetting cufs) throws java.lang.Exception
iStartDate
- Accrual Start DateiEndDate
- Accrual End Dateucas
- Unit Coupon/Accrual Settingcufs
- Composable Unit Fixed Settingjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double baseRate(CurveSurfaceQuoteContainer csqs) throws java.lang.Exception
ComposableUnitPeriod
baseRate
in class ComposableUnitPeriod
csqs
- The Market Curve and Surfacejava.lang.Exception
- Thrown if the base Coupon Rate cannot be calculatedpublic double basis()
ComposableUnitPeriod
basis
in class ComposableUnitPeriod
public java.lang.String couponCurrency()
ComposableUnitPeriod
couponCurrency
in class ComposableUnitPeriod