33 const std::string& currency,
const std::string& index,
const ReversionParameter& realRateReversion,
37 const bool ignoreDuplicateCalibrationExpiryTimes,
const bool linkRealToNominalRateParams,
38 const Real linkedRealRateVolatilityScaling)
39 :
InflationModelData(calibrationType, calibrationBaskets, currency, index, ignoreDuplicateCalibrationExpiryTimes),
40 realRateReversion_(realRateReversion), realRateVolatility_(realRateVolatility), indexVolatility_(indexVolatility),
41 reversionTransformation_(reversionTransformation), calibrationConfiguration_(calibrationConfiguration),
42 linkRealToNominalRateParams_(linkRealToNominalRateParams),
43 linkedRealRateVolatilityScaling_(linkedRealRateVolatilityScaling) {}
82 QL_REQUIRE(rrNode,
"JarrowYildirim inflation model data should have RealRate node.");
91 QL_REQUIRE(idxNode,
"JarrowYildirim inflation model data should have Index node.");
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
LgmReversionTransformation reversionTransformation_
const VolatilityParameter & indexVolatility() const
bool linkRealRateParamsToNominalRateParams() const
VolatilityParameter indexVolatility_
void setRealRateReversion(ReversionParameter p)
const VolatilityParameter & realRateVolatility() const
const CalibrationConfiguration & calibrationConfiguration() const
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
InfJyData()
Default constructor.
CalibrationConfiguration calibrationConfiguration_
VolatilityParameter realRateVolatility_
Real linkedRealRateVolatilityScaling_
Real linkedRealRateVolatilityScaling() const
const ReversionParameter & realRateReversion() const
bool linkRealToNominalRateParams_
const LgmReversionTransformation & reversionTransformation() const
ReversionParameter realRateReversion_
void setRealRateVolatility(VolatilityParameter p)
void append(XMLDocument &doc, XMLNode *node) const override
Method used by toXML in derived classes to add the members here to a node.
void fromXML(XMLNode *node) override
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
Small XML Document wrapper class.
XMLNode * allocNode(const string &nodeName)
util functions that wrap rapidxml
static void checkNode(XMLNode *n, const string &expectedName)
static string getChildValue(XMLNode *node, const string &name, bool mandatory=false, const string &defaultValue=string())
static XMLNode * getChildNode(XMLNode *n, const string &name="")
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
static void appendNode(XMLNode *parent, XMLNode *child)
bool parseBool(const string &s)
Convert text to bool.
Real parseReal(const string &s)
Convert text to Real.
Jarrow Yildirim inflation model component data for the cross asset model.
Classes and functions for log message handling.
CalibrationType
Supported calibration types.
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.