34#include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp>
39using QuantLib::BlackVolTermStructure;
55 const std::map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves,
56 const std::map<
string, QuantLib::ext::shared_ptr<FXVolCurve>>& fxVols,
57 const map<
string, QuantLib::ext::shared_ptr<CorrelationCurve>>& correlationCurves,
58 const bool buildCalibrationInfo);
69 QuantLib::ext::shared_ptr<BlackVolTermStructure>
vol_;
89 const FXTriangulation& fxSpots,
const map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves,
90 const std::map<
string, QuantLib::ext::shared_ptr<FXVolCurve>>& fxVols,
91 const map<
string, QuantLib::ext::shared_ptr<CorrelationCurve>>& correlationCurves,
92 const bool buildCalibrationInfo);
95 QuantLib::ext::shared_ptr<FXVolatilityCurveConfig> config,
const FXTriangulation& fxSpots,
96 const map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves,
97 const std::map<std::string, QuantLib::ext::shared_ptr<FXVolCurve>>& fxVols,
98 const map<
string, QuantLib::ext::shared_ptr<CorrelationCurve>>& correlationCurves);
101 QuantLib::ext::shared_ptr<FXVolatilityCurveConfig> config,
const FXTriangulation& fxSpots,
102 const map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves);
105 QuantLib::ext::shared_ptr<FXVolatilityCurveConfig> config,
const FXTriangulation& fxSpots,
106 const map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves);
109 QuantLib::ext::shared_ptr<FXVolatilityCurveConfig> config,
const FXTriangulation& fxSpots,
110 const map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves);
113 QuantLib::ext::shared_ptr<FXVolatilityCurveConfig> config,
const FXTriangulation& fxSpots,
114 const map<
string, QuantLib::ext::shared_ptr<YieldCurve>>& yieldCurves);
Container class for all Curve Configurations.
Wrapper class for building FX volatility structures.
void buildVannaVolgaOrATMCurve(Date asof, FXVolatilityCurveSpec spec, const Loader &loader, QuantLib::ext::shared_ptr< FXVolatilityCurveConfig > config, const FXTriangulation &fxSpots, const map< string, QuantLib::ext::shared_ptr< YieldCurve > > &yieldCurves)
const QuantLib::ext::shared_ptr< BlackVolTermStructure > & volTermStructure()
QuantLib::DeltaVolQuote::AtmType atmType_
bool butterflyIsBrokerStyle_
QuantLib::ext::shared_ptr< FxEqCommVolCalibrationInfo > calibrationInfo() const
void buildSmileDeltaCurve(Date asof, FXVolatilityCurveSpec spec, const Loader &loader, QuantLib::ext::shared_ptr< FXVolatilityCurveConfig > config, const FXTriangulation &fxSpots, const map< string, QuantLib::ext::shared_ptr< YieldCurve > > &yieldCurves)
boost::optional< Wildcard > expiriesWildcard_
QuantLib::Period switchTenor_
QuantLib::DeltaVolQuote::DeltaType longTermDeltaType_
QuantLib::ext::shared_ptr< FxEqCommVolCalibrationInfo > calibrationInfo_
FXVolCurve()
Default constructor.
QuantLib::DeltaVolQuote::AtmType longTermAtmType_
void buildSmileAbsoluteCurve(Date asof, FXVolatilityCurveSpec spec, const Loader &loader, QuantLib::ext::shared_ptr< FXVolatilityCurveConfig > config, const FXTriangulation &fxSpots, const map< string, QuantLib::ext::shared_ptr< YieldCurve > > &yieldCurves)
void buildATMTriangulated(Date asof, FXVolatilityCurveSpec spec, const Loader &loader, QuantLib::ext::shared_ptr< FXVolatilityCurveConfig > config, const FXTriangulation &fxSpots, const map< string, QuantLib::ext::shared_ptr< YieldCurve > > &yieldCurves, const std::map< std::string, QuantLib::ext::shared_ptr< FXVolCurve > > &fxVols, const map< string, QuantLib::ext::shared_ptr< CorrelationCurve > > &correlationCurves)
QuantLib::DeltaVolQuote::DeltaType deltaType_
QuantLib::ext::shared_ptr< BlackVolTermStructure > vol_
void init(Date asof, FXVolatilityCurveSpec spec, const Loader &loader, const CurveConfigurations &curveConfigs, const FXTriangulation &fxSpots, const map< string, QuantLib::ext::shared_ptr< YieldCurve > > &yieldCurves, const std::map< string, QuantLib::ext::shared_ptr< FXVolCurve > > &fxVols, const map< string, QuantLib::ext::shared_ptr< CorrelationCurve > > &correlationCurves, const bool buildCalibrationInfo)
void buildSmileBfRrCurve(Date asof, FXVolatilityCurveSpec spec, const Loader &loader, QuantLib::ext::shared_ptr< FXVolatilityCurveConfig > config, const FXTriangulation &fxSpots, const map< string, QuantLib::ext::shared_ptr< YieldCurve > > &yieldCurves)
std::vector< string > expiriesNoDuplicates_
std::vector< Period > expiries_
Handle< YieldTermStructure > forYts_
Handle< YieldTermStructure > domYts_
FXVolatilityCurveSpec spec_
const FXVolatilityCurveSpec & spec() const
QuantLib::Option::Type riskReversalInFavorOf_
FX Volatility curve description.
Market data loader base class.
Currency and instrument specific conventions/defaults.
Curve configuration repository.
Curve requirements specification.
Intelligent FX price repository.
Market Datum Loader Interface.
Serializable Credit Default Swap.
vector< string > curveConfigs
utilities for wildcard handling
Wrapper class for QuantLib term structures.