#include <test/testmarket.hpp>
Public Member Functions | |
TestMarketParCurves (const Date &asof) | |
const map< string, vector< string > > & | discountRateHelpersInstMap () const |
const map< string, vector< string > > & | equityForecastRateHelpersInstMap () const |
const map< string, vector< string > > & | indexCurveRateHelperInstMap () const |
const map< string, vector< string > > & | defaultRateHelpersInstMap () const |
const map< string, vector< string > > & | zeroInflationRateHelperInstMap () const |
const map< string, vector< string > > & | yoyInflationRateHelperInstMap () const |
const map< string, vector< Period > > & | discountRateHelperTenorsMap () const |
const map< string, vector< Period > > & | equityForecastRateHelperTenorsMap () const |
const map< string, vector< Period > > & | indexCurveRateHelperTenorsMap () const |
const map< string, vector< Period > > & | defaultRateHelperTenorsMap () const |
const map< string, vector< Period > > & | cdsVolRateHelperTenorsMap () const |
const map< string, vector< Period > > & | swaptionVolRateHelperTenorsMap () const |
const map< string, vector< Period > > & | swaptionVolRateHelperSwapTenorsMap () const |
const map< string, vector< Period > > & | equityVolRateHelperTenorsMap () const |
const map< string, vector< Period > > & | baseCorrRateHelperTenorsMap () const |
const map< string, vector< string > > & | baseCorrLossLevelsMap () const |
const map< string, vector< Period > > & | zeroInflationRateHelperTenorsMap () const |
const map< string, vector< Period > > & | yoyInflationRateHelperTenorsMap () const |
const map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > & | equityForecastRateHelpersMap () const |
const map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > & | discountRateHelpersMap () const |
const map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > & | indexCurveRateHelpersMap () const |
const map< string, vector< QuantLib::ext::shared_ptr< QuantExt::DefaultProbabilityHelper > > > & | defaultRateHelpersMap () const |
const map< string, vector< Handle< Quote > > > & | discountRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | equityForecastRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | indexCurveRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | defaultRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | cdsVolRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | swaptionVolRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | equityVolRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | baseCorrRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | zeroInflationRateHelperValuesMap () const |
const map< string, vector< Handle< Quote > > > & | yoyInflationRateHelperValuesMap () const |
Public Member Functions inherited from MarketImpl | |
MarketImpl (const bool handlePseudoCurrencies) | |
Date | asofDate () const override |
Handle< YieldTermStructure > | yieldCurve (const YieldCurveType &type, const string &ccy, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | discountCurveImpl (const string &ccy, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | yieldCurve (const string &name, const string &configuration=Market::defaultConfiguration) const override |
Handle< IborIndex > | iborIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
Handle< SwapIndex > | swapIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantLib::SwaptionVolatilityStructure > | swaptionVol (const string &key, const string &configuration=Market::defaultConfiguration) const override |
string | shortSwapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const override |
string | swapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantLib::SwaptionVolatilityStructure > | yieldVol (const string &securityID, const string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< QuantExt::FxIndex > | fxIndexImpl (const string &fxIndex, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | fxRateImpl (const string &ccypair, const 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< QuantExt::CreditCurve > | defaultCurve (const string &, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | recoveryRate (const string &, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::CreditVolCurve > | cdsVol (const string &name, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::BaseCorrelationTermStructure > | baseCorrelation (const string &name, const string &configuration=Market::defaultConfiguration) const override |
Handle< OptionletVolatilityStructure > | capFloorVol (const string &key, const string &configuration=Market::defaultConfiguration) const override |
std::pair< string, QuantLib::Period > | capFloorVolIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::YoYOptionletVolatilitySurface > | yoyCapFloorVol (const string &name, const string &configuration=Market::defaultConfiguration) const override |
virtual Handle< ZeroInflationIndex > | zeroInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
virtual Handle< YoYInflationIndex > | yoyInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
virtual Handle< CPIVolatilitySurface > | cpiInflationCapFloorVolatilitySurface (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | equitySpot (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::EquityIndex2 > | equityCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | equityDividendCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< BlackVolTermStructure > | equityVol (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | equityForecastCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | securitySpread (const string &securityID, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::InflationIndexObserver > | baseCpis (const string &index, const string &configuration=Market::defaultConfiguration) const |
QuantLib::Handle< QuantExt::PriceTermStructure > | commodityPriceCurve (const string &commodityName, const string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< QuantExt::CommodityIndex > | commodityIndex (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< QuantLib::BlackVolTermStructure > | commodityVolatility (const string &commodityName, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::CorrelationTermStructure > | correlationCurve (const string &index1, const string &index2, const string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< Quote > | cpr (const string &securityID, const string &configuration=Market::defaultConfiguration) const override |
MarketImpl (const MarketImpl &)=delete | |
MarketImpl & | operator= (const MarketImpl &)=delete |
void | refresh (const string &configuration=Market::defaultConfiguration) override |
Date | asofDate () const override |
Handle< YieldTermStructure > | yieldCurve (const YieldCurveType &type, const string &ccy, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | discountCurveImpl (const string &ccy, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | yieldCurve (const string &name, const string &configuration=Market::defaultConfiguration) const override |
Handle< IborIndex > | iborIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
Handle< SwapIndex > | swapIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantLib::SwaptionVolatilityStructure > | swaptionVol (const string &key, const string &configuration=Market::defaultConfiguration) const override |
string | shortSwapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const override |
string | swapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantLib::SwaptionVolatilityStructure > | yieldVol (const string &securityID, const string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< QuantExt::FxIndex > | fxIndexImpl (const string &fxIndex, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | fxRateImpl (const string &ccypair, const 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< QuantExt::CreditCurve > | defaultCurve (const string &, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | recoveryRate (const string &, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::CreditVolCurve > | cdsVol (const string &name, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::BaseCorrelationTermStructure > | baseCorrelation (const string &name, const string &configuration=Market::defaultConfiguration) const override |
Handle< OptionletVolatilityStructure > | capFloorVol (const string &key, const string &configuration=Market::defaultConfiguration) const override |
std::pair< string, QuantLib::Period > | capFloorVolIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::YoYOptionletVolatilitySurface > | yoyCapFloorVol (const string &name, const string &configuration=Market::defaultConfiguration) const override |
virtual Handle< ZeroInflationIndex > | zeroInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
virtual Handle< YoYInflationIndex > | yoyInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
virtual Handle< CPIVolatilitySurface > | cpiInflationCapFloorVolatilitySurface (const string &indexName, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | equitySpot (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::EquityIndex2 > | equityCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | equityDividendCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< BlackVolTermStructure > | equityVol (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< YieldTermStructure > | equityForecastCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const override |
Handle< Quote > | securitySpread (const string &securityID, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::InflationIndexObserver > | baseCpis (const string &index, const string &configuration=Market::defaultConfiguration) const |
QuantLib::Handle< QuantExt::PriceTermStructure > | commodityPriceCurve (const string &commodityName, const string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< QuantExt::CommodityIndex > | commodityIndex (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< QuantLib::BlackVolTermStructure > | commodityVolatility (const string &commodityName, const string &configuration=Market::defaultConfiguration) const override |
Handle< QuantExt::CorrelationTermStructure > | correlationCurve (const string &index1, const string &index2, const string &configuration=Market::defaultConfiguration) const override |
QuantLib::Handle< Quote > | cpr (const string &securityID, const string &configuration=Market::defaultConfiguration) const override |
Public Member Functions inherited from Market | |
Market (const bool handlePseudoCurrencies) | |
virtual | ~Market () |
virtual Date | asofDate () const=0 |
virtual Handle< YieldTermStructure > | yieldCurve (const YieldCurveType &type, const string &name, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< YieldTermStructure > | discountCurve (const string &ccy, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< YieldTermStructure > | discountCurveImpl (const string &ccy, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YieldTermStructure > | yieldCurve (const string &name, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< IborIndex > | iborIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< SwapIndex > | swapIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< SwaptionVolatilityStructure > | swaptionVol (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual string | shortSwapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual string | swapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< SwaptionVolatilityStructure > | yieldVol (const string &securityID, const string &configuration=Market::defaultConfiguration) const=0 |
QuantLib::Handle< QuantExt::FxIndex > | fxIndex (const string &fxIndex, const string &configuration=Market::defaultConfiguration) const |
virtual QuantLib::Handle< QuantExt::FxIndex > | fxIndexImpl (const string &fxIndex, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< Quote > | fxRate (const string &ccypair, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< Quote > | fxRateImpl (const string &ccypair, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< Quote > | fxSpot (const string &ccypair, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< Quote > | fxSpotImpl (const string &ccypair, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< BlackVolTermStructure > | fxVol (const string &ccypair, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< BlackVolTermStructure > | fxVolImpl (const string &ccypair, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::CreditCurve > | defaultCurve (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< Quote > | recoveryRate (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::CreditVolCurve > | cdsVol (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::BaseCorrelationTermStructure > | baseCorrelation (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< OptionletVolatilityStructure > | capFloorVol (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual std::pair< std::string, QuantLib::Period > | capFloorVolIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::YoYOptionletVolatilitySurface > | yoyCapFloorVol (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< ZeroInflationIndex > | zeroInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YoYInflationIndex > | yoyInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< CPIVolatilitySurface > | cpiInflationCapFloorVolatilitySurface (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< Quote > | equitySpot (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YieldTermStructure > | equityDividendCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YieldTermStructure > | equityForecastCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::EquityIndex2 > | equityCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< Quote > | securitySpread (const string &securityID, const string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantExt::PriceTermStructure > | commodityPriceCurve (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantExt::CommodityIndex > | commodityIndex (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantLib::BlackVolTermStructure > | commodityVolatility (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantExt::CorrelationTermStructure > | correlationCurve (const std::string &index1, const std::string &index2, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< BlackVolTermStructure > | equityVol (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual void | refresh (const string &) |
virtual Handle< Quote > | cpr (const string &securityID, const string &configuration=Market::defaultConfiguration) const=0 |
string | commodityCurveLookup (const string &pm) const |
bool | handlePseudoCurrencies () const |
virtual Handle< YieldTermStructure > | yieldCurve (const YieldCurveType &type, const string &name, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< YieldTermStructure > | discountCurve (const string &ccy, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< YieldTermStructure > | discountCurveImpl (const string &ccy, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YieldTermStructure > | yieldCurve (const string &name, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< IborIndex > | iborIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< SwapIndex > | swapIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< SwaptionVolatilityStructure > | swaptionVol (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual string | shortSwapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual string | swapIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< SwaptionVolatilityStructure > | yieldVol (const string &securityID, const string &configuration=Market::defaultConfiguration) const=0 |
QuantLib::Handle< QuantExt::FxIndex > | fxIndex (const string &fxIndex, const string &configuration=Market::defaultConfiguration) const |
virtual QuantLib::Handle< QuantExt::FxIndex > | fxIndexImpl (const string &fxIndex, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< Quote > | fxRate (const string &ccypair, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< Quote > | fxRateImpl (const string &ccypair, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< Quote > | fxSpot (const string &ccypair, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< Quote > | fxSpotImpl (const string &ccypair, const string &configuration=Market::defaultConfiguration) const=0 |
Handle< BlackVolTermStructure > | fxVol (const string &ccypair, const string &configuration=Market::defaultConfiguration) const |
virtual Handle< BlackVolTermStructure > | fxVolImpl (const string &ccypair, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::CreditCurve > | defaultCurve (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< Quote > | recoveryRate (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::CreditVolCurve > | cdsVol (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::BaseCorrelationTermStructure > | baseCorrelation (const string &, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< OptionletVolatilityStructure > | capFloorVol (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual std::pair< std::string, QuantLib::Period > | capFloorVolIndexBase (const string &key, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::YoYOptionletVolatilitySurface > | yoyCapFloorVol (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< ZeroInflationIndex > | zeroInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YoYInflationIndex > | yoyInflationIndex (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< CPIVolatilitySurface > | cpiInflationCapFloorVolatilitySurface (const string &indexName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< Quote > | equitySpot (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YieldTermStructure > | equityDividendCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< YieldTermStructure > | equityForecastCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< QuantExt::EquityIndex2 > | equityCurve (const string &eqName, const string &configuration=Market::defaultConfiguration) const=0 |
virtual Handle< Quote > | securitySpread (const string &securityID, const string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantExt::PriceTermStructure > | commodityPriceCurve (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantExt::CommodityIndex > | commodityIndex (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantLib::BlackVolTermStructure > | commodityVolatility (const std::string &commodityName, const std::string &configuration=Market::defaultConfiguration) const=0 |
virtual QuantLib::Handle< QuantExt::CorrelationTermStructure > | correlationCurve (const std::string &index1, const std::string &index2, const std::string &configuration=Market::defaultConfiguration) const=0 |
Private Member Functions | |
void | createDiscountCurve (const string &ccy, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates) |
void | createEquityForecastCurve (const string &name, const string &ccy, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates) |
void | createXccyDiscountCurve (const string &ccy, const string &baseCcy, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates) |
void | createIborIndex (const string &idxName, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates, bool singleCurve) |
void | createDefaultCurve (const string &name, const string &ccy, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates) |
void | createCdsVolCurve (const string &name, const vector< Period > &parTenor, const vector< Real > &parRates) |
void | createEquityVolCurve (const string &name, const string &ccy, const vector< Period > &parTenor, const vector< Real > &parRates) |
void | createBaseCorrel (const string &name, const vector< Period > &tenors, const vector< string > &lossLevel, const vector< Real > quotes) |
void | createSwaptionVolCurve (const string &name, const vector< Period > &optionTenors, const vector< Period > &swapTenors, const vector< Real > &strikeSpreads, const vector< Real > &parRates) |
void | createZeroInflationIndex (const string &idxName, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates, bool singleCurve) |
void | createYoYInflationIndex (const string &idxName, const vector< string > &parInst, const vector< Period > &parTenor, const vector< Real > &parRates, bool singleCurve) |
Handle< YieldTermStructure > | flatRateYts (Real forward) |
Handle< BlackVolTermStructure > | flatRateFxv (Volatility forward) |
Handle< QuantLib::SwaptionVolatilityStructure > | flatRateSvs (Volatility forward, VolatilityType type=ShiftedLognormal, Real shift=0.0) |
Handle< DefaultProbabilityTermStructure > | flatRateDcs (Volatility forward) |
Handle< OptionletVolatilityStructure > | flatRateCvs (Volatility vol, VolatilityType type=Normal, Real shift=0.0) |
Private Attributes | |
map< string, vector< string > > | discountRateHelperInstMap_ |
map< string, vector< string > > | equityForecastRateHelperInstMap_ |
map< string, vector< string > > | indexCurveRateHelperInstMap_ |
map< string, vector< string > > | defaultRateHelperInstMap_ |
map< string, vector< string > > | zeroInflationRateHelperInstMap_ |
map< string, vector< string > > | yoyInflationRateHelperInstMap_ |
map< string, vector< Period > > | discountRateHelperTenorsMap_ |
map< string, vector< Period > > | equityForecastRateHelperTenorsMap_ |
map< string, vector< Period > > | indexCurveRateHelperTenorsMap_ |
map< string, vector< Period > > | defaultRateHelperTenorsMap_ |
map< string, vector< Period > > | cdsVolRateHelperTenorsMap_ |
map< string, vector< Period > > | swaptionVolRateHelperTenorsMap_ |
map< string, vector< Period > > | swaptionVolRateHelperSwapTenorsMap_ |
map< string, vector< Period > > | equityVolRateHelperTenorsMap_ |
map< string, vector< Period > > | baseCorrRateHelperTenorsMap_ |
map< string, vector< Period > > | zeroInflationRateHelperTenorsMap_ |
map< string, vector< Period > > | yoyInflationRateHelperTenorsMap_ |
map< string, vector< string > > | baseCorrLossLevelsMap_ |
map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > | discountRateHelpersMap_ |
map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > | equityForecastRateHelpersMap_ |
map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > | indexCurveRateHelpersMap_ |
map< string, vector< QuantLib::ext::shared_ptr< QuantExt::DefaultProbabilityHelper > > > | defaultRateHelpersMap_ |
map< string, vector< Handle< Quote > > > | discountRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | equityForecastRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | indexCurveRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | defaultRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | cdsVolRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | swaptionVolRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | equityVolRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | baseCorrRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | zeroInflationRateHelperValuesMap_ |
map< string, vector< Handle< Quote > > > | yoyInflationRateHelperValuesMap_ |
Additional Inherited Members | |
Static Public Attributes inherited from Market | |
static const string | defaultConfiguration |
static const string | inCcyConfiguration |
Protected Member Functions inherited from MarketImpl | |
virtual void | require (const MarketObject o, const string &name, const string &configuration, const bool forceBuild=false) const |
void | addSwapIndex (const string &swapindex, const string &discountIndex, const string &configuration=Market::defaultConfiguration) const |
Protected Attributes inherited from MarketImpl | |
Date | asof_ |
QuantLib::ext::shared_ptr< FXTriangulation > | fx_ |
map< tuple< string, YieldCurveType, string >, Handle< YieldTermStructure > > | yieldCurves_ |
map< pair< string, string >, Handle< IborIndex > > | iborIndices_ |
map< pair< string, string >, Handle< SwapIndex > > | swapIndices_ |
map< pair< string, string >, Handle< QuantLib::SwaptionVolatilityStructure > > | swaptionCurves_ |
map< pair< string, string >, pair< string, string > > | swaptionIndexBases_ |
map< pair< string, string >, Handle< QuantLib::SwaptionVolatilityStructure > > | yieldVolCurves_ |
map< pair< string, string >, Handle< BlackVolTermStructure > > | fxVols_ |
map< pair< string, string >, Handle< QuantExt::CreditCurve > > | defaultCurves_ |
map< pair< string, string >, Handle< QuantExt::CreditVolCurve > > | cdsVols_ |
map< pair< string, string >, Handle< QuantExt::BaseCorrelationTermStructure > > | baseCorrelations_ |
map< pair< string, string >, Handle< Quote > > | recoveryRates_ |
map< pair< string, string >, Handle< OptionletVolatilityStructure > > | capFloorCurves_ |
map< pair< string, string >, std::pair< string, QuantLib::Period > > | capFloorIndexBase_ |
map< pair< string, string >, Handle< YoYOptionletVolatilitySurface > > | yoyCapFloorVolSurfaces_ |
map< pair< string, string >, Handle< ZeroInflationIndex > > | zeroInflationIndices_ |
map< pair< string, string >, Handle< YoYInflationIndex > > | yoyInflationIndices_ |
map< pair< string, string >, Handle< CPIVolatilitySurface > > | cpiInflationCapFloorVolatilitySurfaces_ |
map< pair< string, string >, Handle< Quote > > | equitySpots_ |
map< pair< string, string >, Handle< BlackVolTermStructure > > | equityVols_ |
map< pair< string, string >, Handle< Quote > > | securitySpreads_ |
map< pair< string, string >, Handle< QuantExt::InflationIndexObserver > > | baseCpis_ |
map< tuple< string, string, string >, Handle< QuantExt::CorrelationTermStructure > > | correlationCurves_ |
map< pair< string, string >, QuantLib::Handle< QuantExt::CommodityIndex > > | commodityIndices_ |
map< pair< string, string >, QuantLib::Handle< QuantLib::BlackVolTermStructure > > | commodityVols_ |
map< pair< string, string >, QuantLib::Handle< QuantExt::EquityIndex2 > > | equityCurves_ |
map< pair< string, string >, Handle< Quote > > | cprs_ |
map< string, std::set< QuantLib::ext::shared_ptr< TermStructure > > > | refreshTs_ |
Protected Attributes inherited from Market | |
bool | handlePseudoCurrencies_ |
Definition at line 92 of file testmarket.hpp.
TestMarketParCurves | ( | const Date & | asof | ) |
Definition at line 645 of file testmarket.cpp.
const map< string, vector< string > > & discountRateHelpersInstMap | ( | ) | const |
Definition at line 96 of file testmarket.hpp.
const map< string, vector< string > > & equityForecastRateHelpersInstMap | ( | ) | const |
Definition at line 97 of file testmarket.hpp.
const map< string, vector< string > > & indexCurveRateHelperInstMap | ( | ) | const |
Definition at line 100 of file testmarket.hpp.
const map< string, vector< string > > & defaultRateHelpersInstMap | ( | ) | const |
Definition at line 101 of file testmarket.hpp.
const map< string, vector< string > > & zeroInflationRateHelperInstMap | ( | ) | const |
Definition at line 102 of file testmarket.hpp.
const map< string, vector< string > > & yoyInflationRateHelperInstMap | ( | ) | const |
Definition at line 105 of file testmarket.hpp.
const map< string, vector< Period > > & discountRateHelperTenorsMap | ( | ) | const |
Definition at line 106 of file testmarket.hpp.
const map< string, vector< Period > > & equityForecastRateHelperTenorsMap | ( | ) | const |
Definition at line 107 of file testmarket.hpp.
const map< string, vector< Period > > & indexCurveRateHelperTenorsMap | ( | ) | const |
Definition at line 110 of file testmarket.hpp.
const map< string, vector< Period > > & defaultRateHelperTenorsMap | ( | ) | const |
Definition at line 111 of file testmarket.hpp.
const map< string, vector< Period > > & cdsVolRateHelperTenorsMap | ( | ) | const |
Definition at line 112 of file testmarket.hpp.
const map< string, vector< Period > > & swaptionVolRateHelperTenorsMap | ( | ) | const |
Definition at line 113 of file testmarket.hpp.
const map< string, vector< Period > > & swaptionVolRateHelperSwapTenorsMap | ( | ) | const |
Definition at line 116 of file testmarket.hpp.
const map< string, vector< Period > > & equityVolRateHelperTenorsMap | ( | ) | const |
Definition at line 119 of file testmarket.hpp.
const map< string, vector< Period > > & baseCorrRateHelperTenorsMap | ( | ) | const |
Definition at line 120 of file testmarket.hpp.
const map< string, vector< string > > & baseCorrLossLevelsMap | ( | ) | const |
Definition at line 121 of file testmarket.hpp.
const map< string, vector< Period > > & zeroInflationRateHelperTenorsMap | ( | ) | const |
Definition at line 122 of file testmarket.hpp.
const map< string, vector< Period > > & yoyInflationRateHelperTenorsMap | ( | ) | const |
Definition at line 125 of file testmarket.hpp.
const map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > & equityForecastRateHelpersMap | ( | ) | const |
Definition at line 128 of file testmarket.hpp.
const map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > & discountRateHelpersMap | ( | ) | const |
Definition at line 131 of file testmarket.hpp.
const map< string, vector< QuantLib::ext::shared_ptr< RateHelper > > > & indexCurveRateHelpersMap | ( | ) | const |
Definition at line 134 of file testmarket.hpp.
const map< string, vector< QuantLib::ext::shared_ptr< QuantExt::DefaultProbabilityHelper > > > & defaultRateHelpersMap | ( | ) | const |
Definition at line 137 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & discountRateHelperValuesMap | ( | ) | const |
Definition at line 140 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & equityForecastRateHelperValuesMap | ( | ) | const |
Definition at line 143 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & indexCurveRateHelperValuesMap | ( | ) | const |
Definition at line 146 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & defaultRateHelperValuesMap | ( | ) | const |
Definition at line 149 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & cdsVolRateHelperValuesMap | ( | ) | const |
Definition at line 150 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & swaptionVolRateHelperValuesMap | ( | ) | const |
Definition at line 151 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & equityVolRateHelperValuesMap | ( | ) | const |
Definition at line 154 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & baseCorrRateHelperValuesMap | ( | ) | const |
Definition at line 157 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & zeroInflationRateHelperValuesMap | ( | ) | const |
Definition at line 160 of file testmarket.hpp.
const map< string, vector< Handle< Quote > > > & yoyInflationRateHelperValuesMap | ( | ) | const |
Definition at line 163 of file testmarket.hpp.
|
private |
Definition at line 877 of file testmarket.cpp.
|
private |
|
private |
Definition at line 890 of file testmarket.cpp.
|
private |
Definition at line 909 of file testmarket.cpp.
|
private |
Definition at line 933 of file testmarket.cpp.
|
private |
Definition at line 951 of file testmarket.cpp.
|
private |
Definition at line 979 of file testmarket.cpp.
|
private |
Definition at line 1003 of file testmarket.cpp.
|
private |
Definition at line 1034 of file testmarket.cpp.
|
private |
Definition at line 1080 of file testmarket.cpp.
|
private |
Definition at line 1118 of file testmarket.cpp.
|
private |
Definition at line 1155 of file testmarket.cpp.
|
private |
Definition at line 1160 of file testmarket.cpp.
|
private |
Definition at line 1165 of file testmarket.cpp.
|
private |
Definition at line 1172 of file testmarket.cpp.
|
private |
Definition at line 1176 of file testmarket.cpp.
|
private |
Definition at line 203 of file testmarket.hpp.
|
private |
Definition at line 203 of file testmarket.hpp.
|
private |
Definition at line 204 of file testmarket.hpp.
|
private |
Definition at line 204 of file testmarket.hpp.
|
private |
Definition at line 204 of file testmarket.hpp.
|
private |
Definition at line 205 of file testmarket.hpp.
|
private |
Definition at line 206 of file testmarket.hpp.
|
private |
Definition at line 206 of file testmarket.hpp.
|
private |
Definition at line 207 of file testmarket.hpp.
|
private |
Definition at line 207 of file testmarket.hpp.
|
private |
Definition at line 207 of file testmarket.hpp.
|
private |
Definition at line 208 of file testmarket.hpp.
|
private |
Definition at line 208 of file testmarket.hpp.
|
private |
Definition at line 208 of file testmarket.hpp.
|
private |
Definition at line 209 of file testmarket.hpp.
|
private |
Definition at line 209 of file testmarket.hpp.
|
private |
Definition at line 209 of file testmarket.hpp.
|
private |
Definition at line 210 of file testmarket.hpp.
|
private |
Definition at line 211 of file testmarket.hpp.
|
private |
Definition at line 211 of file testmarket.hpp.
|
private |
Definition at line 212 of file testmarket.hpp.
|
private |
Definition at line 213 of file testmarket.hpp.
|
private |
Definition at line 214 of file testmarket.hpp.
|
private |
Definition at line 214 of file testmarket.hpp.
|
private |
Definition at line 215 of file testmarket.hpp.
|
private |
Definition at line 215 of file testmarket.hpp.
|
private |
Definition at line 215 of file testmarket.hpp.
|
private |
Definition at line 216 of file testmarket.hpp.
|
private |
Definition at line 216 of file testmarket.hpp.
|
private |
Definition at line 216 of file testmarket.hpp.
|
private |
Definition at line 217 of file testmarket.hpp.
|
private |
Definition at line 217 of file testmarket.hpp.