FittedBond yield curve segment. More...
#include <ored/configuration/yieldcurveconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
FittedBondYieldCurveSegment () | |
Default constructor. More... | |
FittedBondYieldCurveSegment (const string &typeID, const vector< string > "es, const map< string, string > &iborIndexCurves, const bool extrapolateFlat) | |
Detailed constructor. More... | |
Serialisation | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Inspectors | |
const map< string, string > & | iborIndexCurves () const |
const bool | extrapolateFlat () const |
Public Member Functions inherited from YieldCurveSegment | |
virtual | ~YieldCurveSegment () |
Default destructor. More... | |
Type | type () const |
const string & | typeID () const |
const string & | conventionsID () const |
const QuantLib::Pillar::Choice | pillarChoice () const |
Size | priority () const |
Size | minDistance () const |
const vector< pair< string, bool > > & | quotes () 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... | |
Visitability | |
map< string, string > | iborIndexCurves_ |
bool | extrapolateFlat_ |
virtual void | accept (AcyclicVisitor &) override |
Additional Inherited Members | |
Public Types inherited from YieldCurveSegment | |
enum class | Type { Zero , ZeroSpread , Discount , Deposit , FRA , Future , OIS , Swap , AverageOIS , TenorBasis , TenorBasisTwo , BMABasis , FXForward , CrossCcyBasis , CrossCcyFixFloat , DiscountRatio , FittedBond , WeightedAverage , YieldPlusDefault , IborFallback , BondYieldShifted } |
supported segment types More... | |
Protected Member Functions inherited from YieldCurveSegment | |
YieldCurveSegment () | |
Default constructor. More... | |
YieldCurveSegment (const string &typeID, const string &conventionsID, const vector< string > "es) | |
Detailed constructor - assumes all quotes are mandatory. More... | |
pair< string, bool > | quote (const string &name, bool opt=false) |
Utility to build a quote, optional flag defaults to false. More... | |
Protected Attributes inherited from YieldCurveSegment | |
vector< pair< string, bool > > | quotes_ |
Quote and optional flag pair. More... | |
FittedBond yield curve segment.
A bond segment is used to build a yield curve from liquid bond quotes.
Definition at line 522 of file yieldcurveconfig.hpp.
FittedBondYieldCurveSegment | ( | const string & | typeID, |
const vector< string > & | quotes, | ||
const map< string, string > & | iborIndexCurves, | ||
const bool | extrapolateFlat | ||
) |
Detailed constructor.
Definition at line 724 of file yieldcurveconfig.cpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 729 of file yieldcurveconfig.cpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 747 of file yieldcurveconfig.cpp.
const map< string, string > & iborIndexCurves | ( | ) | const |
const bool extrapolateFlat | ( | ) | const |
Definition at line 541 of file yieldcurveconfig.hpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 764 of file yieldcurveconfig.cpp.
|
private |
Definition at line 550 of file yieldcurveconfig.hpp.
|
private |
Definition at line 551 of file yieldcurveconfig.hpp.