Overnight index future data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
OIFutureQuote () | |
OIFutureQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, string expiry, string contract="", Period tenor=3 *Months) | |
Constructor. More... | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
Public Member Functions inherited from MarketDatum | |
MarketDatum () | |
MarketDatum (Real value, Date asofDate, const string &name, QuoteType quoteType, InstrumentType instrumentType) | |
Constructor. More... | |
virtual | ~MarketDatum () |
Default destructor. More... | |
virtual QuantLib::ext::shared_ptr< MarketDatum > | clone () |
Make a copy of the market datum. More... | |
const string & | name () const |
const Handle< Quote > & | quote () const |
Date | asofDate () const |
InstrumentType | instrumentType () const |
QuoteType | quoteType () const |
Inspectors | |
string | ccy_ |
string | expiry_ |
string | contract_ |
Period | tenor_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | ccy () const |
const string & | expiry () const |
Natural | expiryYear () const |
Month | expiryMonth () const |
const string & | contract () const |
const Period & | tenor () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Overnight index future data class.
This class holds single market points of type - OI_FUTURE. Specific data comprise currency, expiry, contract and future tenor.
Definition at line 487 of file marketdatum.hpp.
OIFutureQuote | ( | ) |
Definition at line 489 of file marketdatum.hpp.
OIFutureQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
string | expiry, | ||
string | contract = "" , |
||
Period | tenor = 3 * Months |
||
) |
Constructor.
Definition at line 491 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 497 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 503 of file marketdatum.hpp.
const string & expiry | ( | ) | const |
Definition at line 504 of file marketdatum.hpp.
Natural expiryYear | ( | ) | const |
Definition at line 258 of file marketdatum.cpp.
Month expiryMonth | ( | ) | const |
Definition at line 260 of file marketdatum.cpp.
const string & contract | ( | ) | const |
Definition at line 507 of file marketdatum.hpp.
const Period & tenor | ( | ) | const |
Definition at line 508 of file marketdatum.hpp.
|
private |
|
friend |
Serialization.
Definition at line 517 of file marketdatum.hpp.
|
private |
Definition at line 512 of file marketdatum.hpp.
|
private |
Definition at line 513 of file marketdatum.hpp.
|
private |
Definition at line 514 of file marketdatum.hpp.
|
private |
Definition at line 515 of file marketdatum.hpp.