25 :
Market(handlePseudoCurrencies), market_(m) {}
32 const string& configuration)
const {
33 return market_->yieldCurve(type,
name, configuration);
37 return market_->discountCurve(ccy, configuration);
45 return market_->iborIndex(indexName, configuration);
49 return market_->swapIndex(indexName, configuration);
53 return market_->swaptionVol(key, configuration);
57 return market_->shortSwapIndexBase(ccy, configuration);
61 return market_->swapIndexBase(ccy, configuration);
65 const string& configuration)
const {
66 return market_->yieldVol(securityID, configuration);
74 return market_->fxSpot(ccypair, configuration);
78 return market_->fxRate(ccypair, configuration);
82 return market_->fxVol(ccypair, configuration);
98 const string& configuration)
const {
99 return market_->baseCorrelation(
name, configuration);
103 return market_->capFloorVol(key, configuration);
107 const string& configuration)
const {
108 return market_->capFloorVolIndexBase(key, configuration);
112 const string& configuration)
const {
113 return market_->yoyCapFloorVol(indexName, configuration);
117 const string& configuration)
const {
118 return market_->zeroInflationIndex(indexName, configuration);
122 return market_->yoyInflationIndex(indexName, configuration);
126 const string& configuration)
const {
127 return market_->cpiInflationCapFloorVolatilitySurface(indexName, configuration);
131 return market_->equitySpot(eqName, configuration);
135 return market_->equityDividendCurve(eqName, configuration);
139 return market_->equityForecastCurve(eqName, configuration);
143 return market_->equityCurve(eqName, configuration);
147 return market_->equityVol(eqName, configuration);
153 return market_->securitySpread(securityID, configuration);
156QuantLib::Handle<QuantExt::PriceTermStructure>
158 return market_->commodityPriceCurve(commodityName, configuration);
162 const std::string& configuration)
const {
163 return market_->commodityIndex(commodityName, configuration);
166QuantLib::Handle<QuantLib::BlackVolTermStructure>
168 return market_->commodityVolatility(commodityName, configuration);
171QuantLib::Handle<QuantExt::CorrelationTermStructure>
173 const std::string& configuration)
const {
174 return market_->correlationCurve(index1, index2, configuration);
178 return market_->cpr(securityID, configuration);
QuantLib::Handle< QuantExt::FxIndex > fxIndex(const string &fxIndex, const string &configuration=Market::defaultConfiguration) const
WrappedMarket(const QuantLib::ext::shared_ptr< Market > &market, const bool handlePseudoCurrencies)
QuantLib::ext::shared_ptr< Market > market_
Handle< QuantExt::CreditCurve > defaultCurve(const string &name, const string &configuration=Market::defaultConfiguration) const override
string shortSwapIndexBase(const string &ccy, const string &configuration=Market::defaultConfiguration) const override
Handle< Quote > securitySpread(const string &securityID, const string &configuration=Market::defaultConfiguration) const override
Handle< QuantExt::BaseCorrelationTermStructure > baseCorrelation(const string &name, const string &configuration=Market::defaultConfiguration) const override
QuantLib::Handle< QuantExt::PriceTermStructure > commodityPriceCurve(const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const override
Handle< ZeroInflationIndex > zeroInflationIndex(const string &indexName, const string &configuration=Market::defaultConfiguration) const override
Inflation Indexes.
Handle< QuantExt::EquityIndex2 > equityCurve(const string &eqName, const string &configuration=Market::defaultConfiguration) const override
Handle< BlackVolTermStructure > equityVol(const string &eqName, const string &configuration=Market::defaultConfiguration) const override
Handle< QuantExt::YoYOptionletVolatilitySurface > yoyCapFloorVol(const string &indexName, const string &configuration=Market::defaultConfiguration) const override
Handle< Quote > recoveryRate(const string &name, const string &configuration=Market::defaultConfiguration) const override
Handle< YieldTermStructure > discountCurveImpl(const string &ccy, const string &configuration=Market::defaultConfiguration) const override
QuantLib::Handle< QuantLib::BlackVolTermStructure > commodityVolatility(const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const override
Handle< Quote > fxSpotImpl(const string &ccypair, const string &configuration=Market::defaultConfiguration) const override
Handle< BlackVolTermStructure > fxVolImpl(const string &ccypair, const string &configuration=Market::defaultConfiguration) const override
Handle< SwaptionVolatilityStructure > yieldVol(const string &securityID, const string &configuration=Market::defaultConfiguration) const override
Handle< CPIVolatilitySurface > cpiInflationCapFloorVolatilitySurface(const string &indexName, const string &configuration=Market::defaultConfiguration) const override
CPI Inflation Cap Floor Volatility Surfaces.
Handle< QuantExt::CreditVolCurve > cdsVol(const string &name, const string &configuration=Market::defaultConfiguration) const override
Date asofDate() const override
Get the asof Date.
QuantLib::Handle< QuantExt::CorrelationTermStructure > correlationCurve(const std::string &index1, const std::string &index2, const std::string &configuration=Market::defaultConfiguration) const override
void refresh(const string &s) override
Refresh term structures for a given configuration.
Handle< YieldTermStructure > equityDividendCurve(const string &eqName, const string &configuration=Market::defaultConfiguration) const override
Handle< QuantExt::FxIndex > fxIndexImpl(const string &fxIndex, const string &configuration=Market::defaultConfiguration) const override
Handle< YieldTermStructure > yieldCurve(const YieldCurveType &type, const string &name, const string &configuration=Market::defaultConfiguration) const override
Handle< Quote > cpr(const string &securityID, const string &configuration=Market::defaultConfiguration) const override
Handle< Quote > fxRateImpl(const string &ccypair, const string &configuration=Market::defaultConfiguration) const override
Handle< Quote > equitySpot(const string &eqName, const string &configuration=Market::defaultConfiguration) const override
string swapIndexBase(const string &ccy, const string &configuration=Market::defaultConfiguration) const override
Handle< SwapIndex > swapIndex(const string &indexName, const string &configuration=Market::defaultConfiguration) const override
QuantLib::ext::shared_ptr< Market > underlyingMarket() const
std::pair< string, QuantLib::Period > capFloorVolIndexBase(const string &key, const string &configuration=Market::defaultConfiguration) const override
Handle< OptionletVolatilityStructure > capFloorVol(const string &key, const string &configuration=Market::defaultConfiguration) const override
Handle< YoYInflationIndex > yoyInflationIndex(const string &indexName, const string &configuration=Market::defaultConfiguration) const override
Handle< SwaptionVolatilityStructure > swaptionVol(const string &key, const string &configuration=Market::defaultConfiguration) const override
Handle< IborIndex > iborIndex(const string &indexName, const string &configuration=Market::defaultConfiguration) const override
QuantLib::Handle< QuantExt::CommodityIndex > commodityIndex(const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const override
Handle< YieldTermStructure > equityForecastCurve(const string &eqName, const string &configuration=Market::defaultConfiguration) const override
Serializable Credit Default Swap.