QuantLib_ForwardVanillaOption

Langue: en

Autres versions - même langue

Version: 383077 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

QuantLib::ForwardVanillaOption -

Forward version of a vanilla option

SYNOPSIS


#include <ql/instruments/forwardvanillaoption.hpp>

Inherits QuantLib::OneAssetOption.

Inherited by QuantoForwardVanillaOption.

Public Types


typedef ForwardOptionArguments< OneAssetOption::arguments > arguments

typedef OneAssetOption::results results

Public Member Functions


ForwardVanillaOption (Real moneyness, const Date &resetDate, const boost::shared_ptr< StrikedTypePayoff > &payoff, const boost::shared_ptr< Exercise > &exercise)

void setupArguments (PricingEngine::arguments *) const

void fetchResults (const PricingEngine::results *) const

Detailed Description

Forward version of a vanilla option

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

void fetchResults (const PricingEngine::results * r) const [virtual]When a derived result structure is defined for an instrument, this method should be overridden to read from it. This is mandatory in case a pricing engine is used.

Reimplemented from OneAssetOption.

Reimplemented in QuantoForwardVanillaOption.

Author

Generated automatically by Doxygen for QuantLib from the source code.