Hull White Model Parameters. More...
#include <ored/model/irhwmodeldata.hpp>
Public Member Functions | |
HwModelData () | |
Default constructor. More... | |
HwModelData (std::string qualifier, CalibrationType calibrationType, bool calibrateKappa, ParamType kappaType, std::vector< Time > kappaTimes, std::vector< QuantLib::Array > kappaValues, bool calibrateSigma, ParamType sigmaType, std::vector< Time > sigmaTimes, std::vector< QuantLib::Matrix > sigmaValues, std::vector< std::string > optionExpiries=std::vector< std::string >(), std::vector< std::string > optionTerms=std::vector< std::string >(), std::vector< std::string > optionStrikes=std::vector< std::string >()) | |
Detailed constructor. More... | |
void | clear () override |
Clear list of calibration instruments. More... | |
void | reset () override |
Reset member variables to defaults. More... | |
Serialisation | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Setters/Getters | |
bool & | calibrateKappa () |
ParamType & | kappaType () |
std::vector< Time > & | kappaTimes () |
std::vector< Array > & | kappaValues () |
bool & | calibrateSigma () |
ParamType & | sigmaType () |
std::vector< Time > & | sigmaTimes () |
std::vector< QuantLib::Matrix > & | sigmaValues () |
std::vector< std::string > & | optionExpiries () |
std::vector< std::string > & | optionTerms () |
std::vector< std::string > & | optionStrikes () |
Public Member Functions inherited from IrModelData | |
IrModelData (const std::string &name) | |
minimal constructor More... | |
IrModelData (const std::string &name, const std::string &qualifier, CalibrationType calibrationType) | |
Detailed constructor. More... | |
virtual void | clear () |
Clear list of calibration instruments. More... | |
virtual void | reset () |
Reset member variables to defaults. More... | |
const std::string & | name () |
std::string & | qualifier () |
CalibrationType & | calibrationType () |
virtual std::string | ccy () const |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
Parse from XML string. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Operators | |
bool | calibrateKappa_ |
ParamType | kappaType_ |
std::vector< Time > | kappaTimes_ |
std::vector< QuantLib::Array > | kappaValues_ |
bool | calibrateSigma_ |
ParamType | sigmaType_ |
std::vector< Time > | sigmaTimes_ |
std::vector< QuantLib::Matrix > | sigmaValues_ |
std::vector< std::string > | optionExpiries_ |
std::vector< std::string > | optionTerms_ |
std::vector< std::string > | optionStrikes_ |
bool | operator== (const HwModelData &rhs) |
bool | operator!= (const HwModelData &rhs) |
Additional Inherited Members | |
Protected Attributes inherited from IrModelData | |
std::string | name_ |
std::string | qualifier_ |
CalibrationType | calibrationType_ |
Hull White Model Parameters.
This class contains the description of a Hull White interest rate model and instructions for how to calibrate it.
Definition at line 48 of file irhwmodeldata.hpp.
HwModelData | ( | ) |
Default constructor.
Definition at line 51 of file irhwmodeldata.hpp.
HwModelData | ( | std::string | qualifier, |
CalibrationType | calibrationType, | ||
bool | calibrateKappa, | ||
ParamType | kappaType, | ||
std::vector< Time > | kappaTimes, | ||
std::vector< QuantLib::Array > | kappaValues, | ||
bool | calibrateSigma, | ||
ParamType | sigmaType, | ||
std::vector< Time > | sigmaTimes, | ||
std::vector< QuantLib::Matrix > | sigmaValues, | ||
std::vector< std::string > | optionExpiries = std::vector<std::string>() , |
||
std::vector< std::string > | optionTerms = std::vector<std::string>() , |
||
std::vector< std::string > | optionStrikes = std::vector<std::string>() |
||
) |
Detailed constructor.
Definition at line 56 of file irhwmodeldata.hpp.
|
overridevirtual |
Clear list of calibration instruments.
Reimplemented from IrModelData.
Definition at line 47 of file irhwmodeldata.cpp.
|
overridevirtual |
Reset member variables to defaults.
Reimplemented from IrModelData.
Definition at line 53 of file irhwmodeldata.cpp.
|
overridevirtual |
Reimplemented from IrModelData.
Definition at line 66 of file irhwmodeldata.cpp.
|
overridevirtual |
Reimplemented from IrModelData.
Definition at line 154 of file irhwmodeldata.cpp.
bool & calibrateKappa | ( | ) |
Definition at line 81 of file irhwmodeldata.hpp.
ParamType & kappaType | ( | ) |
Definition at line 82 of file irhwmodeldata.hpp.
std::vector< Time > & kappaTimes | ( | ) |
Definition at line 83 of file irhwmodeldata.hpp.
std::vector< Array > & kappaValues | ( | ) |
Definition at line 84 of file irhwmodeldata.hpp.
bool & calibrateSigma | ( | ) |
Definition at line 85 of file irhwmodeldata.hpp.
ParamType & sigmaType | ( | ) |
Definition at line 86 of file irhwmodeldata.hpp.
std::vector< Time > & sigmaTimes | ( | ) |
Definition at line 87 of file irhwmodeldata.hpp.
std::vector< QuantLib::Matrix > & sigmaValues | ( | ) |
std::vector< std::string > & optionExpiries | ( | ) |
Definition at line 89 of file irhwmodeldata.hpp.
std::vector< std::string > & optionTerms | ( | ) |
Definition at line 90 of file irhwmodeldata.hpp.
std::vector< std::string > & optionStrikes | ( | ) |
Definition at line 91 of file irhwmodeldata.hpp.
bool operator== | ( | const HwModelData & | rhs | ) |
Definition at line 34 of file irhwmodeldata.cpp.
bool operator!= | ( | const HwModelData & | rhs | ) |
Definition at line 45 of file irhwmodeldata.cpp.
|
private |
Definition at line 101 of file irhwmodeldata.hpp.
|
private |
Definition at line 102 of file irhwmodeldata.hpp.
|
private |
Definition at line 103 of file irhwmodeldata.hpp.
|
private |
Definition at line 104 of file irhwmodeldata.hpp.
|
private |
Definition at line 106 of file irhwmodeldata.hpp.
|
private |
Definition at line 107 of file irhwmodeldata.hpp.
|
private |
Definition at line 108 of file irhwmodeldata.hpp.
|
private |
Definition at line 109 of file irhwmodeldata.hpp.
|
private |
Definition at line 110 of file irhwmodeldata.hpp.
|
private |
Definition at line 111 of file irhwmodeldata.hpp.
|
private |
Definition at line 112 of file irhwmodeldata.hpp.