25#ifndef quantext_cclgm_fxoptionengine_hpp
26#define quantext_cclgm_fxoptionengine_hpp
28#include <ql/instruments/vanillaoption.hpp>
45 void cache(
bool enable =
true);
50 Real
value(
const Time t0,
const Time t,
const QuantLib::ext::shared_ptr<StrikedTypePayoff> payoff,
51 const Real domesticDiscount,
const Real fxForward)
const;
54 const QuantLib::ext::shared_ptr<CrossAssetModel>
model_;
Analytic cc lgm fx option engine.
void cache(bool enable=true)
Real value(const Time t0, const Time t, const QuantLib::ext::shared_ptr< StrikedTypePayoff > payoff, const Real domesticDiscount, const Real fxForward) const
void calculate() const override
const QuantLib::ext::shared_ptr< CrossAssetModel > model_
const Size foreignCurrency_