50 InfJyBuilder(
const QuantLib::ext::shared_ptr<Market>& market,
const QuantLib::ext::shared_ptr<InfJyData>&
data,
52 const std::string& referenceCalibrationGrid =
"",
const bool donCalibrate =
false);
54 using Helpers = std::vector<QuantLib::ext::shared_ptr<QuantLib::CalibrationHelper>>;
59 QuantLib::ext::shared_ptr<QuantExt::InfJyParameterization>
parameterization()
const;
73 QuantLib::ext::shared_ptr<Market>
market_;
75 QuantLib::ext::shared_ptr<InfJyData>
data_;
125 QuantLib::Array& expiries,
bool forRealRateReversion =
false)
const;
129 QuantLib::Array& expiries)
const;
133 QuantLib::Array& expiries)
const;
137 QuantLib::Array& expiries,
bool forRealRateReversion =
false)
const;
143 QuantLib::ext::shared_ptr<QuantExt::Lgm1fParametrization<ZeroInflationTermStructure>>
createRealRateParam()
const;
146 QuantLib::ext::shared_ptr<QuantExt::FxBsParametrization>
createIndexParam()
const;
151 const QuantLib::Array& expiries,
const std::string& paramName)
const;
165 QuantLib::Real
marketPrice(
const QuantLib::ext::shared_ptr<QuantLib::CalibrationHelper>&
helper)
const;
Helpers buildCalibrationBasket(const CalibrationBasket &cb, std::vector< bool > &active, QuantLib::Array &expiries, bool forRealRateReversion=false) const
Build the calibration basket.
QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > zeroInflationIndex_
std::vector< QuantLib::ext::shared_ptr< QuantLib::CalibrationHelper > > Helpers
std::string configuration_
std::string referenceCalibrationGrid_
void forceRecalculate() override
QuantLib::ext::shared_ptr< Market > market_
void performCalculations() const override
Helpers indexBasket() const
Helpers buildYoYSwapBasket(const CalibrationBasket &cb, std::vector< bool > &active, QuantLib::Array &expiries, bool forRealRateReversion=false) const
Build a YoY swap calibration basket.
QuantLib::ext::shared_ptr< QuantExt::MarketObserver > marketObserver_
QuantLib::Handle< QuantLib::YoYOptionletVolatilitySurface > yoyVolatility_
const CalibrationBasket & calibrationBasket(const std::string ¶meter) const
Find calibration basket with parameter value equal to parameter.
void setCalibrationDone() const
Helpers buildYoYCapFloorBasket(const CalibrationBasket &cb, std::vector< bool > &active, QuantLib::Array &expiries) const
Build a YoY cap floor calibration basket.
void initialiseMarket()
Attempt to initialise market data members that may be needed for building calibration instruments.
QuantLib::ext::shared_ptr< QuantLib::YoYInflationIndex > yoyInflationIndex_
Helpers buildCpiCapFloorBasket(const CalibrationBasket &cb, std::vector< bool > &active, QuantLib::Array &expiries) const
Build a CPI cap floor calibration basket.
QuantLib::ext::shared_ptr< InfJyData > data_
QuantLib::ext::shared_ptr< QuantExt::InfJyParameterization > parameterization() const
bool requiresRecalibration() const override
QuantLib::ext::shared_ptr< QuantExt::Lgm1fParametrization< ZeroInflationTermStructure > > createRealRateParam() const
Create the real rate parameterisation.
Handle< YieldTermStructure > rateCurve_
void buildCalibrationBaskets() const
Build any calibration baskets requested by the configuration i.e. via the data_ member.
bool pricesChanged(bool updateCache) const
void setupParams(const ModelParameter ¶m, QuantLib::Array ×, QuantLib::Array &values, const QuantLib::Array &expiries, const std::string ¶mName) const
QuantLib::Array indexInstExpiries_
std::vector< bool > rrInstActive_
QuantLib::ext::shared_ptr< QuantExt::FxBsParametrization > createIndexParam() const
Create the inflation index parameterisation.
std::vector< QuantLib::Date > referenceCalibrationDates() const
Create the reference calibration dates.
std::string inflationIndex() const
QuantLib::ext::shared_ptr< QuantExt::InfJyParameterization > parameterization_
QuantLib::Array rrInstExpiries_
std::vector< QuantLib::Real > priceCache_
Cache the prices of all of the active calibration helper instruments.
Helpers realRateBasket() const
QuantLib::Real marketPrice(const QuantLib::ext::shared_ptr< QuantLib::CalibrationHelper > &helper) const
Return the market value of the given calibration helper.
std::vector< bool > indexInstActive_
QuantLib::Handle< QuantLib::CPIVolatilitySurface > cpiVolatility_
static const string defaultConfiguration
Default configuration label.
Jarrow Yildirim inflation model component data for the cross asset model.
Serializable Credit Default Swap.
QuantLib::BootstrapHelper< QuantLib::OptionletVolatilityStructure > helper