32#include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp>
37using QuantLib::BlackVolTermStructure;
53 const std::map<std::string, QuantLib::ext::shared_ptr<EquityCurve>>& requiredEquityCurves = {},
54 const std::map<std::string, QuantLib::ext::shared_ptr<EquityVolCurve>>& requiredEquityVolCurves = {},
55 const std::map<std::string, QuantLib::ext::shared_ptr<FXVolCurve>>& requiredFxVolCurves = {},
56 const std::map<std::string, QuantLib::ext::shared_ptr<CorrelationCurve>>& requiredCorrelationCurves = {},
75 const QuantLib::Handle<QuantExt::EquityIndex2>& eqIndex);
80 const QuantLib::Handle<QuantExt::EquityIndex2>& eqIndex);
85 const QuantLib::Handle<QuantExt::EquityIndex2>& eqIndex);
90 const map<
string, QuantLib::ext::shared_ptr<EquityCurve>>& eqCurves,
91 const map<
string, QuantLib::ext::shared_ptr<EquityVolCurve>>& eqVolCurves,
92 const map<
string, QuantLib::ext::shared_ptr<FXVolCurve>>& fxVolCurves,
93 const map<
string, QuantLib::ext::shared_ptr<CorrelationCurve>>& requiredCorrelationCurves,
94 const Market* fxIndices =
nullptr);
107 QuantLib::ext::shared_ptr<BlackVolTermStructure>
vol_;
Container class for all Curve Configurations.
Wrapper class for building Equity volatility structures.
const QuantLib::ext::shared_ptr< FxEqCommVolCalibrationInfo > & calibrationInfo() const
QuantLib::ext::shared_ptr< VolatilityConfig > volatilityConfig_
void buildCalibrationInfo(const QuantLib::Date &asof, const CurveConfigurations &curveConfigs, const EquityVolatilityCurveConfig &config, const Handle< QuantExt::EquityIndex2 > &eqIndex)
Build the calibration info.
QuantLib::ext::shared_ptr< FxEqCommVolCalibrationInfo > calibrationInfo_
const QuantLib::ext::shared_ptr< BlackVolTermStructure > & volTermStructure() const
QuantLib::Currency currency_
void buildVolatility(const QuantLib::Date &asof, const EquityVolatilityCurveConfig &vc, const VolatilityCurveConfig &vcc, const Loader &loader)
Build a volatility curve from a 1-D curve of volatility quotes.
QuantLib::Date maxExpiry_
QuantLib::ext::shared_ptr< BlackVolTermStructure > vol_
EquityVolCurve()
Default constructor.
QuantLib::Calendar calendar_
void buildVolatility(const QuantLib::Date &asof, EquityVolatilityCurveConfig &vc, const VolatilityMoneynessSurfaceConfig &vmsc, const Loader &loader, const QuantLib::Handle< QuantExt::EquityIndex2 > &eqIndex)
Build a volatility surface from a collection of expiry and moneyness strike pairs.
void buildVolatility(const QuantLib::Date &asof, const EquityVolatilityCurveConfig &vc, const ConstantVolatilityConfig &cvc, const Loader &loader)
Build a volatility structure from a single constant volatility quote.
EquityVolCurve(Date asof, EquityVolatilityCurveSpec spec, const Loader &loader, const CurveConfigurations &curveConfigs, const QuantLib::Handle< QuantExt::EquityIndex2 > &eqIndex, const std::map< std::string, QuantLib::ext::shared_ptr< EquityCurve > > &requiredEquityCurves={}, const std::map< std::string, QuantLib::ext::shared_ptr< EquityVolCurve > > &requiredEquityVolCurves={}, const std::map< std::string, QuantLib::ext::shared_ptr< FXVolCurve > > &requiredFxVolCurves={}, const std::map< std::string, QuantLib::ext::shared_ptr< CorrelationCurve > > &requiredCorrelationCurves={}, const Market *market=nullptr, const bool buildCalibrationInfo=true)
Detailed constructor.
const EquityVolatilityCurveSpec & spec() const
EquityVolatilityCurveSpec spec_
QuantLib::DayCounter dayCounter_
void buildVolatility(const QuantLib::Date &asof, EquityVolatilityCurveConfig &vc, const VolatilityStrikeSurfaceConfig &vssc, const Loader &loader, const QuantLib::Handle< QuantExt::EquityIndex2 > &eqIndex)
Build a volatility surface from a collection of expiry and absolute strike pairs.
Equity volatility structure configuration.
Equity Volatility curve description.
Market data loader base class.
Currency and instrument specific conventions/defaults.
Curve configuration repository.
Curve requirements specification.
Wrapper class for building Equity curves.
Wrapper class for building FX volatility structures.
Market Datum Loader Interface.
Serializable Credit Default Swap.
vector< string > curveConfigs