QuantLib_HimalayaOption man page
HimalayaOption — Himalaya option.
Public Member Functions
HimalayaOption (const std::vector< Date > &fixingDates, Real strike)
void setupArguments (PricingEngine::arguments *) const
Additional Inherited Members
The payoff of a Himalaya option is computed in the following way: Given a basket of N assets, and N time periods, at the end of each period the option who performed the best is added to the average and then discarded from the basket. At the end of the N, periods the option pays the max between the strike and the average of the best performers.
This implementation still does not manage seasoned options.
Member Function Documentation
void setupArguments (PricingEngine::arguments *) const [virtual]
When a derived argument structure is defined for an instrument, this method should be overridden to fill it. This is mandatory in case a pricing engine is used.
Reimplemented from Instrument.
Generated automatically by Doxygen for QuantLib from the source code.
HimalayaOption(3) is an alias of QuantLib_HimalayaOption(3).