42 Date
asofDate()
const override {
return Date(); }
44 Handle<YieldTermStructure>
discountCurveImpl(
const string& key,
const string& config)
const override {
45 return Handle<YieldTermStructure>();
48 const string&)
const override {
49 return Handle<YieldTermStructure>();
51 Handle<YieldTermStructure>
yieldCurve(
const string&,
const string&)
const override {
52 return Handle<YieldTermStructure>();
54 Handle<IborIndex>
iborIndex(
const string&,
const string&)
const override {
57 Handle<SwapIndex>
swapIndex(
const string&,
const string&)
const override {
return Handle<SwapIndex>(); }
58 Handle<SwaptionVolatilityStructure>
swaptionVol(
const string&,
const string&)
const override {
59 return Handle<SwaptionVolatilityStructure>();
62 string swapIndexBase(
const string&,
const string&)
const override {
return string(); }
64 Handle<SwaptionVolatilityStructure>
yieldVol(
const string&,
const string&)
const override {
65 return Handle<SwaptionVolatilityStructure>();
68 Handle<QuantExt::FxIndex>
fxIndexImpl(
const string& index,
const string&)
const override {
71 return Handle<QuantExt::FxIndex>();
73 Handle<Quote>
fxSpotImpl(
const string&,
const string&)
const override {
return Handle<Quote>(); }
74 Handle<Quote>
fxRateImpl(
const string&,
const string&)
const override {
return Handle<Quote>(); }
75 Handle<BlackVolTermStructure>
fxVolImpl(
const string&,
const string&)
const override {
76 return Handle<BlackVolTermStructure>();
79 Handle<QuantExt::CreditCurve>
defaultCurve(
const string&,
const string&)
const override {
80 return Handle<QuantExt::CreditCurve>(
81 QuantLib::ext::make_shared<QuantExt::CreditCurve>(Handle<DefaultProbabilityTermStructure>()));
83 Handle<Quote>
recoveryRate(
const string&,
const string&)
const override {
return Handle<Quote>(); }
85 Handle<QuantExt::CreditVolCurve>
cdsVol(
const string&,
const string&)
const override {
86 return Handle<QuantExt::CreditVolCurve>();
89 Handle<QuantExt::BaseCorrelationTermStructure>
baseCorrelation(
const string&,
const string&)
const override {
90 return Handle<QuantExt::BaseCorrelationTermStructure>();
93 Handle<OptionletVolatilityStructure>
capFloorVol(
const string&,
const string&)
const override {
94 return Handle<OptionletVolatilityStructure>();
98 return std::make_pair(
string(), 0 * Days);
102 return Handle<ZeroInflationIndex>();
105 return Handle<YoYInflationIndex>();
108 Handle<QuantExt::YoYOptionletVolatilitySurface>
yoyCapFloorVol(
const string&,
const string&)
const override {
109 return Handle<QuantExt::YoYOptionletVolatilitySurface>();
113 return Handle<QuantLib::CPIVolatilitySurface>();
116 Handle<Quote>
equitySpot(
const string&,
const string&)
const override {
return Handle<Quote>(); }
118 return Handle<YieldTermStructure>();
121 return Handle<YieldTermStructure>();
124 Handle<QuantExt::EquityIndex2>
equityCurve(
const string& eqName,
const string&)
const override {
125 return Handle<QuantExt::EquityIndex2>();
128 Handle<BlackVolTermStructure>
equityVol(
const string&,
const string&)
const override {
129 return Handle<BlackVolTermStructure>();
132 Handle<Quote>
securitySpread(
const string&,
const string&)
const override {
return Handle<Quote>(); }
135 const std::string&)
const override {
136 return QuantLib::Handle<QuantExt::PriceTermStructure>();
139 QuantLib::Handle<QuantExt::CommodityIndex>
commodityIndex(
const std::string&,
const std::string&)
const override {
140 return QuantLib::Handle<QuantExt::CommodityIndex>();
144 const std::string&)
const override {
145 return Handle<BlackVolTermStructure>();
148 QuantLib::Handle<QuantLib::Quote>
cpr(
const string&,
const string&)
const override {
149 return QuantLib::Handle<QuantLib::Quote>();
152 QuantLib::Handle<QuantExt::CorrelationTermStructure>
correlationCurve(
const std::string&,
const std::string&,
153 const std::string&)
const override {
154 return QuantLib::Handle<QuantExt::CorrelationTermStructure>();
QuantLib::Handle< QuantLib::BlackVolTermStructure > commodityVolatility(const std::string &, const std::string &) const override
Handle< QuantExt::EquityIndex2 > equityCurve(const string &eqName, const string &) const override
Handle< SwapIndex > swapIndex(const string &, const string &) const override
Handle< YoYInflationIndex > yoyInflationIndex(const string &, const string &) const override
QuantLib::Handle< QuantExt::CommodityIndex > commodityIndex(const std::string &, const std::string &) const override
Handle< QuantExt::CreditCurve > defaultCurve(const string &, const string &) const override
Handle< QuantLib::CPIVolatilitySurface > cpiInflationCapFloorVolatilitySurface(const string &, const string &) const override
CPI Inflation Cap Floor Volatility Surfaces.
std::pair< string, QuantLib::Period > capFloorVolIndexBase(const string &, const string &) const override
Handle< Quote > equitySpot(const string &, const string &) const override
Handle< SwaptionVolatilityStructure > swaptionVol(const string &, const string &) const override
Handle< Quote > fxSpotImpl(const string &, const string &) const override
Handle< Quote > recoveryRate(const string &, const string &) const override
Handle< YieldTermStructure > discountCurveImpl(const string &key, const string &config) const override
Handle< YieldTermStructure > yieldCurve(const ore::data::YieldCurveType &type, const string &, const string &) const override
QuantLib::Handle< QuantLib::Quote > cpr(const string &, const string &) const override
Date asofDate() const override
Get the asof Date.
Handle< QuantExt::YoYOptionletVolatilitySurface > yoyCapFloorVol(const string &, const string &) const override
Handle< QuantExt::FxIndex > fxIndexImpl(const string &index, const string &) const override
Handle< ZeroInflationIndex > zeroInflationIndex(const string &, const string &) const override
Inflation Indexes.
Handle< Quote > securitySpread(const string &, const string &) const override
string shortSwapIndexBase(const string &, const string &) const override
Handle< QuantExt::BaseCorrelationTermStructure > baseCorrelation(const string &, const string &) const override
Handle< OptionletVolatilityStructure > capFloorVol(const string &, const string &) const override
Handle< YieldTermStructure > yieldCurve(const string &, const string &) const override
Handle< YieldTermStructure > equityForecastCurve(const string &, const string &) const override
string swapIndexBase(const string &, const string &) const override
Handle< IborIndex > iborIndex(const string &, const string &) const override
Handle< QuantExt::CreditVolCurve > cdsVol(const string &, const string &) const override
Handle< SwaptionVolatilityStructure > yieldVol(const string &, const string &) const override
Handle< BlackVolTermStructure > equityVol(const string &, const string &) const override
QuantLib::Handle< QuantExt::PriceTermStructure > commodityPriceCurve(const std::string &, const std::string &) const override
Handle< Quote > fxRateImpl(const string &, const string &) const override
Handle< BlackVolTermStructure > fxVolImpl(const string &, const string &) const override
QuantLib::Handle< QuantExt::CorrelationTermStructure > correlationCurve(const std::string &, const std::string &, const std::string &) const override
Handle< YieldTermStructure > equityDividendCurve(const string &, const string &) const override
QuantLib::ext::shared_ptr< IborIndex > parseIborIndex(const string &s, const Handle< YieldTermStructure > &h)
Convert std::string to QuantLib::IborIndex.
QuantLib::ext::shared_ptr< FxIndex > parseFxIndex(const string &s, const Handle< Quote > &fxSpot, const Handle< YieldTermStructure > &sourceYts, const Handle< YieldTermStructure > &targetYts, const bool useConventions)
Convert std::string to QuantExt::FxIndex.
Map text representations to QuantLib/QuantExt types.
bool isFxIndex(const std::string &indexName)
Serializable Credit Default Swap.