Container for storing Overnight Index Swap conventions. More...
#include <ored/configuration/conventions.hpp>
Public Member Functions | |
Constructors | |
OisConvention () | |
Default constructor. More... | |
OisConvention (const string &id, const string &spotLag, const string &index, const string &fixedDayCounter, const string &fixedCalendar, const string &paymentLag="", const string &eom="", const string &fixedFrequency="", const string &fixedConvention="", const string &fixedPaymentConvention="", const string &rule="", const std::string &paymentCalendar="") | |
Detailed constructor. More... | |
Inspectors | |
Natural | spotLag () const |
const string & | indexName () const |
QuantLib::ext::shared_ptr< OvernightIndex > | index () const |
const DayCounter & | fixedDayCounter () const |
const Calendar & | fixedCalendar () const |
Natural | paymentLag () const |
bool | eom () |
Frequency | fixedFrequency () const |
BusinessDayConvention | fixedConvention () const |
BusinessDayConvention | fixedPaymentConvention () const |
DateGeneration::Rule | rule () const |
QuantLib::Calendar | paymentCalendar () const |
Public Member Functions inherited from Convention | |
virtual | ~Convention () |
Default destructor. More... | |
const string & | id () const |
Type | type () 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... | |
Serialisation | |
Natural | spotLag_ |
DayCounter | fixedDayCounter_ |
Calendar | fixedCalendar_ |
Natural | paymentLag_ |
bool | eom_ |
Frequency | fixedFrequency_ |
BusinessDayConvention | fixedConvention_ |
BusinessDayConvention | fixedPaymentConvention_ |
DateGeneration::Rule | rule_ |
QuantLib::Calendar | paymentCal_ |
string | strSpotLag_ |
string | strIndex_ |
string | strFixedDayCounter_ |
string | strFixedCalendar_ |
string | strPaymentLag_ |
string | strEom_ |
string | strFixedFrequency_ |
string | strFixedConvention_ |
string | strFixedPaymentConvention_ |
string | strRule_ |
std::string | strPaymentCal_ |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
virtual void | build () override |
Additional Inherited Members | |
Public Types inherited from Convention | |
enum class | Type { Zero , Deposit , Future , FRA , OIS , Swap , AverageOIS , TenorBasisSwap , TenorBasisTwoSwap , BMABasisSwap , FX , CrossCcyBasis , CrossCcyFixFloat , CDS , IborIndex , OvernightIndex , SwapIndex , ZeroInflationIndex , InflationSwap , SecuritySpread , CMSSpreadOption , CommodityForward , CommodityFuture , FxOption , BondYield } |
Supported convention types. More... | |
Protected Member Functions inherited from Convention | |
Convention () | |
Convention (const string &id, Type type) | |
Protected Attributes inherited from Convention | |
Type | type_ |
string | id_ |
Container for storing Overnight Index Swap conventions.
Definition at line 373 of file conventions.hpp.
OisConvention | ( | ) |
OisConvention | ( | const string & | id, |
const string & | spotLag, | ||
const string & | index, | ||
const string & | fixedDayCounter, | ||
const string & | fixedCalendar, | ||
const string & | paymentLag = "" , |
||
const string & | eom = "" , |
||
const string & | fixedFrequency = "" , |
||
const string & | fixedConvention = "" , |
||
const string & | fixedPaymentConvention = "" , |
||
const string & | rule = "" , |
||
const std::string & | paymentCalendar = "" |
||
) |
Detailed constructor.
Definition at line 285 of file conventions.cpp.
Natural spotLag | ( | ) | const |
Definition at line 389 of file conventions.hpp.
const string & indexName | ( | ) | const |
Definition at line 390 of file conventions.hpp.
QuantLib::ext::shared_ptr< OvernightIndex > index | ( | ) | const |
Definition at line 361 of file conventions.cpp.
const DayCounter & fixedDayCounter | ( | ) | const |
Definition at line 392 of file conventions.hpp.
const Calendar & fixedCalendar | ( | ) | const |
Definition at line 394 of file conventions.hpp.
Natural paymentLag | ( | ) | const |
Definition at line 395 of file conventions.hpp.
bool eom | ( | ) |
Definition at line 396 of file conventions.hpp.
Frequency fixedFrequency | ( | ) | const |
Definition at line 397 of file conventions.hpp.
BusinessDayConvention fixedConvention | ( | ) | const |
Definition at line 398 of file conventions.hpp.
BusinessDayConvention fixedPaymentConvention | ( | ) | const |
Definition at line 399 of file conventions.hpp.
DateGeneration::Rule rule | ( | ) | const |
Definition at line 400 of file conventions.hpp.
QuantLib::Calendar paymentCalendar | ( | ) | const |
Definition at line 401 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 311 of file conventions.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 334 of file conventions.cpp.
|
overridevirtual |
Implements Convention.
Definition at line 296 of file conventions.cpp.
|
private |
Definition at line 412 of file conventions.hpp.
|
private |
Definition at line 413 of file conventions.hpp.
|
private |
Definition at line 414 of file conventions.hpp.
|
private |
Definition at line 415 of file conventions.hpp.
|
private |
Definition at line 416 of file conventions.hpp.
|
private |
Definition at line 417 of file conventions.hpp.
|
private |
Definition at line 418 of file conventions.hpp.
|
private |
Definition at line 419 of file conventions.hpp.
|
private |
Definition at line 420 of file conventions.hpp.
|
private |
Definition at line 421 of file conventions.hpp.
|
private |
Definition at line 424 of file conventions.hpp.
|
private |
Definition at line 425 of file conventions.hpp.
|
private |
Definition at line 426 of file conventions.hpp.
|
private |
Definition at line 427 of file conventions.hpp.
|
private |
Definition at line 428 of file conventions.hpp.
|
private |
Definition at line 429 of file conventions.hpp.
|
private |
Definition at line 430 of file conventions.hpp.
|
private |
Definition at line 431 of file conventions.hpp.
|
private |
Definition at line 432 of file conventions.hpp.
|
private |
Definition at line 433 of file conventions.hpp.
|
private |
Definition at line 434 of file conventions.hpp.