QuantLib_HimalayaOption (3) - Linux Manuals

QuantLib_HimalayaOption: Himalaya option.

NAME

QuantLib::HimalayaOption - Himalaya option.

SYNOPSIS


#include <ql/instruments/himalayaoption.hpp>

Inherits QuantLib::MultiAssetOption.

Public Member Functions


HimalayaOption (const std::vector< Date > &fixingDates, Real strike)

void setupArguments (PricingEngine::arguments *) const

Detailed Description

Himalaya option.

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.

Warning

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 MultiAssetOption.

Author

Generated automatically by Doxygen for QuantLib from the source code.