Analytic cross-asset lgm equity option engine. More...
#include <qle/pricingengines/analyticxassetlgmeqoptionengine.hpp>
Public Member Functions | |
AnalyticXAssetLgmEquityOptionEngine (const QuantLib::ext::shared_ptr< CrossAssetModel > &model, const Size equityIdx, const Size ccyIdx) | |
void | calculate () const override |
Real | value (const Time t0, const Time t, const QuantLib::ext::shared_ptr< StrikedTypePayoff > payoff, const Real domesticDiscount, const Real eqForward) const |
Private Attributes | |
const QuantLib::ext::shared_ptr< CrossAssetModel > | model_ |
const Size | eqIdx_ |
const Size | ccyIdx_ |
Analytic cross-asset lgm equity option engine.
This class prices an equity option analytically using the dynamics of a CrossAssetModel. The formula is black-like, with the variance of the underlying equity being dependent upon the dynamics of related interest and FX rates within the CrossAssetModel universe. See the book "Modern Derivatives Pricing and Credit Exposure Analysis" by Lichters, Stamm and Gallagher.
Definition at line 43 of file analyticxassetlgmeqoptionengine.hpp.
AnalyticXAssetLgmEquityOptionEngine | ( | const QuantLib::ext::shared_ptr< CrossAssetModel > & | model, |
const Size | equityIdx, | ||
const Size | ccyIdx | ||
) |
Definition at line 28 of file analyticxassetlgmeqoptionengine.cpp.
|
override |
Definition at line 58 of file analyticxassetlgmeqoptionengine.cpp.
Real value | ( | const Time | t0, |
const Time | t, | ||
const QuantLib::ext::shared_ptr< StrikedTypePayoff > | payoff, | ||
const Real | domesticDiscount, | ||
const Real | eqForward | ||
) | const |
the actual option price calculation, exposed to public, since it is useful to directly use the core computation sometimes
Definition at line 32 of file analyticxassetlgmeqoptionengine.cpp.
|
private |
Definition at line 56 of file analyticxassetlgmeqoptionengine.hpp.
|
private |
Definition at line 57 of file analyticxassetlgmeqoptionengine.hpp.
|
private |
Definition at line 57 of file analyticxassetlgmeqoptionengine.hpp.