#include <bond.h>
Inheritance diagram for riskybond:
Public Member Functions | |
riskybond (Date issue, Date maturity, Date firstcoupondate, Real coupon, Frequency freq, Real faceamount, DayCountConvention daycount, yieldCurve yc, creditCurve cc) | |
Constructor. | |
riskybond (Date issue, Date maturity, Real faceamount, DayCountConvention daycount, yieldCurve yc, creditCurve cc) | |
Constructor : ZCbond. | |
~riskybond (void) | |
Destructor. | |
virtual Real | quotedPrice (Date today) |
virtual riskybond | shiftedbond (Real shift) |
bond with same parameters and a shifted yieldCurve | |
virtual Real | rho (Date today) |
return the derivative of the bond price with respect to interest rates | |
virtual Real | rho () |
Private Attributes | |
creditCurve | _cc |
|
Constructor.
Definition at line 336 of file bond.cpp. References Real. |
|
Constructor : ZCbond.
|
|
Destructor.
|
|
Reimplemented from bond. Definition at line 348 of file bond.cpp. References Date::dayCount(), bond::getCashflow(), cashflow::getCashflows(), cashflow::getDates(), Natural, Real, and creditCurve::riskyDiscountFactor(). |
|
Reimplemented in convertiblebond. Definition at line 144 of file bond.h. References Real. |
|
return the derivative of the bond price with respect to interest rates
Reimplemented in convertiblebond. Definition at line 380 of file bond.cpp. References bond::fairvalue(), Real, and shiftedbond(). |
|
bond with same parameters and a shifted yieldCurve
Definition at line 374 of file bond.cpp. References Real, and yieldCurve::shiftZCBRateCurve(). Referenced by rho(), and convertiblebond::shiftedcbond(). |
|
|