48 const std::map<std::string, QuantLib::ext::shared_ptr<CDSVolCurve>>& requiredCdsVolCurves = {},
49 const std::map<std::string, QuantLib::ext::shared_ptr<DefaultCurve>>& requiredCdsCurves = {});
60 QuantLib::ext::shared_ptr<QuantExt::CreditVolCurve>
vol_;
76 const std::map<std::string, QuantLib::ext::shared_ptr<DefaultCurve>>& requiredCdsCurves);
80 const std::map<std::string, QuantLib::ext::shared_ptr<CDSVolCurve>>& requiredCdsVolCurves,
81 const std::map<std::string, QuantLib::ext::shared_ptr<DefaultCurve>>& requiredCdsCurves);
89 const std::vector<QuantLib::Real>& configuredStrikes,
90 const std::map<std::string, QuantLib::ext::shared_ptr<DefaultCurve>>& requiredCdsCurves);
93 QuantLib::Date
getExpiry(
const QuantLib::Date& asof,
const QuantLib::ext::shared_ptr<Expiry>& expiry)
const;
CDSVolCurve()
Default constructor.
QuantLib::Date getExpiry(const QuantLib::Date &asof, const QuantLib::ext::shared_ptr< Expiry > &expiry) const
Get an explicit expiry date from a CDS option quote's Expiry.
QuantExt::CreditVolCurve::Type strikeType_
CDSVolCurve(QuantLib::Date asof, CDSVolatilityCurveSpec spec, const Loader &loader, const CurveConfigurations &curveConfigs, const std::map< std::string, QuantLib::ext::shared_ptr< CDSVolCurve > > &requiredCdsVolCurves={}, const std::map< std::string, QuantLib::ext::shared_ptr< DefaultCurve > > &requiredCdsCurves={})
Detailed constructor.
void buildVolatility(const QuantLib::Date &asof, CDSVolatilityCurveConfig &vc, const VolatilityStrikeSurfaceConfig &vssc, const Loader &loader, const std::map< std::string, QuantLib::ext::shared_ptr< DefaultCurve > > &requiredCdsCurves)
Build a volatility surface from a collection of expiry and absolute strike pairs.
QuantLib::Calendar calendar_
QuantLib::ext::shared_ptr< QuantExt::CreditVolCurve > vol_
CDSVolatilityCurveSpec spec_
const QuantLib::ext::shared_ptr< QuantExt::CreditVolCurve > & volTermStructure()
void buildVolatilityExplicit(const QuantLib::Date &asof, CDSVolatilityCurveConfig &vc, const VolatilityStrikeSurfaceConfig &vssc, const Loader &loader, const std::vector< QuantLib::Real > &configuredStrikes, const std::map< std::string, QuantLib::ext::shared_ptr< DefaultCurve > > &requiredCdsCurves)
const CDSVolatilityCurveSpec & spec() const
QuantLib::DayCounter dayCounter_
void buildVolatility(const QuantLib::Date &asof, const CDSVolatilityCurveConfig &vc, const ConstantVolatilityConfig &cvc, const Loader &loader)
Build a volatility structure from a single constant volatility quote.
CDS Volatility curve description.
Container class for all Curve Configurations.
Market data loader base class.
Currency and instrument specific conventions/defaults.
Curve configuration repository.
Wrapper class for building Default curves.
Market Datum Loader Interface.
Serializable Credit Default Swap.
vector< string > curveConfigs