public class BondCouponMeasures
extends java.lang.Object
| Constructor and Description |
|---|
BondCouponMeasures(double dblDV01,
double dblIndexCouponPV,
double dblCouponPV,
double dblPV)
BondCouponMeasures constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
adjustForAccrual(double dblAccrued01,
double dblCoupon,
double dblIndex,
boolean bDirtyFromClean)
Adjust Measures for accrued
|
boolean |
adjustForSettlement(double dblCashPayDF)
Adjust the bond coupon measures by a cash settlement discount factor
|
double |
couponPV()
Retrieve the Coupon PV
|
double |
dv01()
Retrieve the DV01
|
double |
indexCouponPV()
Retrieve the Index Coupon PV
|
double |
pv()
Retrieve the PV
|
CaseInsensitiveTreeMap<java.lang.Double> |
toMap(java.lang.String strPrefix)
Return the state as a named measure map
|
public BondCouponMeasures(double dblDV01,
double dblIndexCouponPV,
double dblCouponPV,
double dblPV)
throws java.lang.Exception
dblDV01 - DV01dblIndexCouponPV - Index Coupon PVdblCouponPV - Coupon PVdblPV - PVjava.lang.Exception - Thrown if inputs are invalidpublic boolean adjustForSettlement(double dblCashPayDF)
dblCashPayDF - Cash Pay discount factorpublic double dv01()
public double indexCouponPV()
public double couponPV()
public double pv()
public boolean adjustForAccrual(double dblAccrued01,
double dblCoupon,
double dblIndex,
boolean bDirtyFromClean)
dblAccrued01 - Accrued 01dblCoupon - Coupon during the accrued phasedblIndex - Index Rate during the accrued phasebDirtyFromClean - True - Change measures from Clean to Dirtypublic CaseInsensitiveTreeMap<java.lang.Double> toMap(java.lang.String strPrefix)
strPrefix - Measure name prefix