DividendVanillaOption Class Reference
[Financial instruments]
#include <ql/instruments/dividendvanillaoption.hpp>
Inheritance diagram for DividendVanillaOption:

Detailed Description
Single-asset vanilla option (no barriers) with discrete dividends.
Public Member Functions | |
DividendVanillaOption (const boost::shared_ptr< StrikedTypePayoff > &payoff, const boost::shared_ptr< Exercise > &exercise, const std::vector< Date > ÷ndDates, const std::vector< Real > ÷nds) | |
Volatility | impliedVolatility (Real price, const boost::shared_ptr< GeneralizedBlackScholesProcess > &process, Real accuracy=1.0e-4, Size maxEvaluations=100, Volatility minVol=1.0e-7, Volatility maxVol=4.0) const |
Protected Member Functions | |
void | setupArguments (PricingEngine::arguments *) const |
Classes | |
class | arguments |
Arguments for dividend vanilla option calculation More... | |
class | engine |
Dividend-vanilla-option engine base class More... |
Member Function Documentation
Volatility impliedVolatility | ( | Real | price, | |
const boost::shared_ptr< GeneralizedBlackScholesProcess > & | process, | |||
Real | accuracy = 1.0e-4 , |
|||
Size | maxEvaluations = 100 , |
|||
Volatility | minVol = 1.0e-7 , |
|||
Volatility | maxVol = 4.0 | |||
) | const |
- Warning:
- see VanillaOption for notes on implied-volatility calculation.
void setupArguments | ( | PricingEngine::arguments * | ) | const [protected, virtual] |