BlackScholesModel.hpp
Go to the documentation of this file.
double prizeAnalytically(const EuropeanOpt &) const override
method calculates the prize of European vanilla option
Definition: BlackScholesModel.cpp:96
double asset_prize_
Underlying asset prize.
Definition: BlackScholesModel.hpp:66
Definition: cadHoliday.cpp:3
SmartPointer< ir::Curve > dividend_curve_
Curve used to estimate continuous dividend.
Definition: BlackScholesModel.hpp:68
SmartPointer< Volatility > volatility_
Volatility of the asset prize.
Definition: BlackScholesModel.hpp:69
BlackScholesModel()
Default Constructor.
Definition: BlackScholesModel.hpp:40
double calculateDrift(Date) const
basing on discounting and dividend curve exponential drift is calculated
Definition: BlackScholesModel.cpp:71
BlackScholesModel(const Date &date, const double &asset_prize, const SmartPointer< ir::Curve > &discounting_curve, const SmartPointer< ir::Curve > ÷nd_curve, const SmartPointer< Volatility > &volatility)
Constructor.
Definition: BlackScholesModel.hpp:43
File contains definition of date class.
Class uses Curiously Recurring Template Pattern to implement polymorphic copy construction in every d...
Definition: marketModel.hpp:91
virtual void setAssetPrize(double) override
sets asset prize
Definition: BlackScholesModel.cpp:47
virtual void setDate(Date &) override
sets the market date
Definition: BlackScholesModel.cpp:39
File contains interface for volatility surface.
virtual void bumpAssetPrize(double) override
bump asset prize additively
Definition: BlackScholesModel.cpp:55
virtual void bumpVolatility(double) override
bump volatility additively
Definition: BlackScholesModel.cpp:64
virtual SmartPointer< ir::Curve > getDiscountingCurve() const override
returns discounting curve
Definition: BlackScholesModel.cpp:25
virtual SmartPointer< ir::Curve > getDividendCurve() const override
returns dividend curve
Definition: BlackScholesModel.cpp:31
File contains definition of forward curve class.
SmartPointer< ir::Curve > discounting_curve_
Curve used to discount CFs.
Definition: BlackScholesModel.hpp:67
virtual double getAssetPrize() const override
returns the prize of asset
Definition: BlackScholesModel.cpp:19
File contains implementation of interface for market models.
virtual Date getDate() const override
returns the date on which market data are actual
Definition: BlackScholesModel.cpp:13
File contains function EasterForAGivenYear.
File contains interface of interest rate curves.