The class interfaces volatility surface. More...
#include <volatility.hpp>
Public Member Functions | |
Volatility () | |
default constructor More... | |
virtual double | getVolatility (double K, Date T) const =0 |
returns volatility for a give strike and date More... | |
virtual double | getVolatility (double K, double T) const =0 |
returns volatility for a give strike and expiration time More... | |
virtual double | getVariance (double K, Date T) const =0 |
returns variance for a give strike and date More... | |
virtual double | getVariance (double K, double T) const =0 |
returns variance for a give strike and expiration time More... | |
virtual Date | getDate () const =0 |
returns the date for which curve was defined. More... | |
virtual void | bumpVolatility (double h)=0 |
bump volatility More... | |
virtual double | getYearFraction (Date, Date) const =0 |
Calculates year fraction. More... | |
virtual Volatility * | clone () const =0 |
virtual copy constructor More... | |
virtual std::string | info () const =0 |
type of volatility surface More... | |
virtual | ~Volatility () |
destructor More... | |
Detailed Description
The class interfaces volatility surface.
Volatility implements the interface for volatility surface.
More information see: [12]
Constructor & Destructor Documentation
|
inline |
default constructor
|
inlinevirtual |
destructor
Member Function Documentation
|
pure virtual |
bump volatility
- Parameters
-
h bump size
- Note
- Depending on the implementation of volatility surface bumping volatility may have different mechanism
Implemented in julian::FlatVolatility.
|
pure virtual |
virtual copy constructor
Implemented in julian::FlatVolatility.
|
pure virtual |
returns the date for which curve was defined.
Implemented in julian::FlatVolatility.
|
pure virtual |
returns variance for a give strike and date
- Parameters
-
K strike T date
- Returns
- annualized variance
Implemented in julian::FlatVolatility.
|
pure virtual |
returns variance for a give strike and expiration time
- Parameters
-
K strike T expiration time
- Returns
- annualized variance
Implemented in julian::FlatVolatility.
|
pure virtual |
returns volatility for a give strike and date
- Parameters
-
K strike T date
- Returns
- annualized volatility
Implemented in julian::FlatVolatility.
|
pure virtual |
returns volatility for a give strike and expiration time
- Parameters
-
K strike T expiration time
- Returns
- annualized volatility
Implemented in julian::FlatVolatility.
Calculates year fraction.
This methods calculates the year fraction between two dates. The year fraction convention is defined during the construction of interest rate object.
Implemented in julian::FlatVolatility.
|
pure virtual |
type of volatility surface
Implemented in julian::FlatVolatility.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/jULIAN/src/marketData/volatility/volatility.hpp