Discounting Equity Forward Engine. More...
#include <qle/pricingengines/discountingequityforwardengine.hpp>
Public Member Functions | |
DiscountingEquityForwardEngine (const Handle< YieldTermStructure > &equityInterestRateCurve, const Handle< YieldTermStructure > ÷ndYieldCurve, const Handle< Quote > &equitySpot, const Handle< YieldTermStructure > &discountCurve, boost::optional< bool > includeSettlementDateFlows=boost::none, const Date &settlementDate=Date(), const Date &npvDate=Date()) | |
void | calculate () const override |
const Handle< YieldTermStructure > & | equityReferenceRateCurve () const |
const Handle< YieldTermStructure > & | divYieldCurve () const |
const Handle< YieldTermStructure > & | discountCurve () const |
const Handle< Quote > & | equitySpot () const |
Private Attributes | |
Handle< YieldTermStructure > | equityRefRateCurve_ |
Handle< YieldTermStructure > | divYieldCurve_ |
Handle< Quote > | equitySpot_ |
Handle< YieldTermStructure > | discountCurve_ |
boost::optional< bool > | includeSettlementDateFlows_ |
Date | settlementDate_ |
Date | npvDate_ |
Discounting Equity Forward Engine.
This class implements pricing of Equity Forwards by discounting the future nominal cash flows using the respective yield curves. The forward price is estimated using reference rate and dividend yield curves as input. The cashflows are discounted using a separate discounting curve input.
\ingroup engines
Definition at line 43 of file discountingequityforwardengine.hpp.
DiscountingEquityForwardEngine | ( | const Handle< YieldTermStructure > & | equityInterestRateCurve, |
const Handle< YieldTermStructure > & | dividendYieldCurve, | ||
const Handle< Quote > & | equitySpot, | ||
const Handle< YieldTermStructure > & | discountCurve, | ||
boost::optional< bool > | includeSettlementDateFlows = boost::none , |
||
const Date & | settlementDate = Date() , |
||
const Date & | npvDate = Date() |
||
) |
equityInterestRateCurve | The IR rate curve for estimating forward price. |
dividendYieldCurve | The dividend yield term structure for estimating forward price. |
equitySpot | The market spot rate quote. |
discountCurve | The discount curve |
includeSettlementDateFlows,settlementDate | If includeSettlementDateFlows is true (false), cashflows on the settlementDate are (not) included in the NPV. If not given the settlement date is set to the npv date. |
npvDate | Discount to this date. If not given the npv date is set to the evaluation date |
Definition at line 25 of file discountingequityforwardengine.cpp.
|
override |
Definition at line 39 of file discountingequityforwardengine.cpp.
const Handle< YieldTermStructure > & equityReferenceRateCurve | ( | ) | const |
Definition at line 71 of file discountingequityforwardengine.hpp.
const Handle< YieldTermStructure > & divYieldCurve | ( | ) | const |
Definition at line 72 of file discountingequityforwardengine.hpp.
const Handle< YieldTermStructure > & discountCurve | ( | ) | const |
Definition at line 73 of file discountingequityforwardengine.hpp.
const Handle< Quote > & equitySpot | ( | ) | const |
Definition at line 75 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 78 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 79 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 80 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 81 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 82 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 83 of file discountingequityforwardengine.hpp.
|
private |
Definition at line 84 of file discountingequityforwardengine.hpp.