QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Constant-estimator volatility model. More...
#include <constantestimator.hpp>
Public Member Functions | |
ConstantEstimator (Size size) | |
TimeSeries< Volatility > | calculate (const TimeSeries< Volatility > &) override |
void | calibrate (const TimeSeries< Volatility > &) override |
Public Member Functions inherited from VolatilityCompositor | |
virtual | ~VolatilityCompositor ()=default |
virtual time_series | calculate (const time_series &volatilitySeries)=0 |
virtual void | calibrate (const time_series &volatilitySeries)=0 |
Private Attributes | |
Size | size_ |
Additional Inherited Members | |
Public Types inherited from VolatilityCompositor | |
typedef TimeSeries< Volatility > | time_series |
Constant-estimator volatility model.
Volatilities are assumed to be expressed on an annual basis.
Definition at line 35 of file constantestimator.hpp.
ConstantEstimator | ( | Size | size | ) |
Definition at line 39 of file constantestimator.hpp.
|
override |
|
override |
Definition at line 42 of file constantestimator.hpp.
|
private |
Definition at line 37 of file constantestimator.hpp.