32 fixingDates_(fixingDates), roof_(roof), fraction_(fraction) {}
51 MultiAssetOption::arguments::validate();
52 QL_REQUIRE(!fixingDates.empty(),
"no fixingDates given");
Base class for options on multiple assets.
void setupArguments(PricingEngine::arguments *) const override
template class providing a null value for a given type.
std::vector< Date > fixingDates
void validate() const override
void setupArguments(PricingEngine::arguments *) const override
std::vector< Date > fixingDates_
PagodaOption(const std::vector< Date > &fixingDates, Real roof, Real fraction)
Abstract base class for option payoffs.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
Option exercise classes and payoff function.
Roofed Asian option on a number of assets.
Payoffs for various options.