#include <ored/model/fxbsdata.hpp>
Public Member Functions | |
FxBsData () | |
Default constructor. More... | |
FxBsData (std::string foreignCcy, std::string domesticCcy, CalibrationType calibrationType, bool calibrateSigma, ParamType sigmaType, const std::vector< Time > &sigmaTimes, const std::vector< Real > &sigmaValues, std::vector< std::string > optionExpiries=std::vector< std::string >(), std::vector< std::string > optionStrikes=std::vector< std::string >()) | |
Detailed constructor. More... | |
Setters/Getters | |
std::string & | foreignCcy () |
std::string & | domesticCcy () |
CalibrationType & | calibrationType () |
bool & | calibrateSigma () |
ParamType & | sigmaParamType () |
std::vector< Time > & | sigmaTimes () |
std::vector< Real > & | sigmaValues () |
std::vector< std::string > & | optionExpiries () |
std::vector< std::string > & | optionStrikes () |
Serialisation | |
void | fromXML (XMLNode *node) |
XMLNode * | toXML (XMLDocument &doc) |
Operators | |
std::string | foreignCcy_ |
std::string | domesticCcy_ |
CalibrationType | calibrationType_ |
bool | calibrateSigma_ |
ParamType | sigmaType_ |
std::vector< Time > | sigmaTimes_ |
std::vector< Real > | sigmaValues_ |
std::vector< std::string > | optionExpiries_ |
std::vector< std::string > | optionStrikes_ |
bool | operator== (const FxBsData &rhs) |
bool | operator!= (const FxBsData &rhs) |
FX Model Parameters.
Specification for a FX model component in the Cross Ccy LGM (i.e. lognormal FX with stochastic IR differential). The specification applies to the volatility component (sigma) of the FX model only.
Definition at line 50 of file fxbsdata.hpp.
FxBsData | ( | ) |
FxBsData | ( | std::string | foreignCcy, |
std::string | domesticCcy, | ||
CalibrationType | calibrationType, | ||
bool | calibrateSigma, | ||
ParamType | sigmaType, | ||
const std::vector< Time > & | sigmaTimes, | ||
const std::vector< Real > & | sigmaValues, | ||
std::vector< std::string > | optionExpiries = std::vector<std::string>() , |
||
std::vector< std::string > | optionStrikes = std::vector<std::string>() |
||
) |
Detailed constructor.
Definition at line 56 of file fxbsdata.hpp.
std::string & foreignCcy | ( | ) |
Definition at line 66 of file fxbsdata.hpp.
std::string & domesticCcy | ( | ) |
Definition at line 67 of file fxbsdata.hpp.
CalibrationType & calibrationType | ( | ) |
Definition at line 68 of file fxbsdata.hpp.
bool & calibrateSigma | ( | ) |
Definition at line 69 of file fxbsdata.hpp.
ParamType & sigmaParamType | ( | ) |
Definition at line 70 of file fxbsdata.hpp.
std::vector< Time > & sigmaTimes | ( | ) |
Definition at line 71 of file fxbsdata.hpp.
std::vector< Real > & sigmaValues | ( | ) |
Definition at line 72 of file fxbsdata.hpp.
std::vector< std::string > & optionExpiries | ( | ) |
Definition at line 73 of file fxbsdata.hpp.
std::vector< std::string > & optionStrikes | ( | ) |
Definition at line 74 of file fxbsdata.hpp.
void fromXML | ( | XMLNode * | node | ) |
Definition at line 39 of file fxbsdata.cpp.
XMLNode * toXML | ( | XMLDocument & | doc | ) |
Definition at line 77 of file fxbsdata.cpp.
Definition at line 26 of file fxbsdata.cpp.
Definition at line 37 of file fxbsdata.cpp.
|
private |
Definition at line 90 of file fxbsdata.hpp.
|
private |
Definition at line 91 of file fxbsdata.hpp.
|
private |
Definition at line 92 of file fxbsdata.hpp.
|
private |
Definition at line 93 of file fxbsdata.hpp.
|
private |
Definition at line 94 of file fxbsdata.hpp.
|
private |
Definition at line 95 of file fxbsdata.hpp.
|
private |
Definition at line 96 of file fxbsdata.hpp.
|
private |
Definition at line 97 of file fxbsdata.hpp.
|
private |
Definition at line 98 of file fxbsdata.hpp.