25 : type_(type), moneyness_(moneyness), resetIndex_(resetIndex),
29 "moneyness less than zero not allowed");
33 const Path& path = multiPath[0];
ForwardEuropeanHestonPathPricer(Option::Type type, Real moneyness, Size resetIndex, DiscountFactor discount)
Real operator()(const MultiPath &multiPath) const override
Correlated multiple asset paths.
single-factor random walk
Real back() const
final asset value
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
Real DiscountFactor
discount factor between dates
std::size_t Size
size of a container
ext::shared_ptr< QuantLib::Payoff > payoff
Monte Carlo engine for forward-starting strike-reset European options using Heston-like process.