41 LOG(
"Cross-Asset Equity Name = " <<
name_);
44 LOG(
"Cross-Asset Equity Currency = " <<
ccy_);
48 LOG(
"Cross-Asset Equity calibration type = " << calibTypeString);
56 LOG(
"Cross-Asset Equity Sigma parameter type = " << sigmaTypeString);
59 LOG(
"Cross-Asset Equity Sigma time grid size = " <<
sigmaTimes_.size());
62 LOG(
"Cross-Asset Equity Sigma initial values size = " <<
sigmaValues_.size());
72 "size mismatch in equity option expiries/strike for equity name " <<
name_);
95 return crossCcyLGMNode;
void fromXML(XMLNode *node)
CalibrationType calibrationType_
std::vector< std::string > optionExpiries_
XMLNode * toXML(XMLDocument &doc)
std::vector< Time > sigmaTimes_
std::vector< Real > sigmaValues_
bool operator==(const EqBsData &rhs)
bool operator!=(const EqBsData &rhs)
std::vector< std::string > optionStrikes_
Small XML Document wrapper class.
XMLNode * allocNode(const string &nodeName)
util functions that wrap rapidxml
static void addAttribute(XMLDocument &doc, XMLNode *node, const string &attrName, const string &attrValue)
static string getAttribute(XMLNode *node, const string &attrName)
static void addGenericChildAsList(XMLDocument &doc, XMLNode *n, const string &name, const vector< T > &values, const string &attrName="", const string &attr="")
static void addGenericChild(XMLDocument &doc, XMLNode *n, const char *name, const T &value)
Adds <Name>p1,p2,p3</Name>
static string getChildValue(XMLNode *node, const string &name, bool mandatory=false, const string &defaultValue=string())
static bool getChildValueAsBool(XMLNode *node, const string &name, bool mandatory=false, bool defaultValue=true)
static XMLNode * getChildNode(XMLNode *n, const string &name="")
static vector< string > getChildrenValuesAsStrings(XMLNode *node, const string &name, bool mandatory=false)
static vector< Real > getChildrenValuesAsDoublesCompact(XMLNode *node, const string &name, bool mandatory=false)
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
EQ component data for the cross asset model.
Classes and functions for log message handling.
#define LOG(text)
Logging Macro (Level = Notice)
CalibrationType parseCalibrationType(const string &s)
Convert calibration type string into enumerated class value.
ParamType parseParamType(const string &s)
Convert parameter type string into enumerated class value.
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.