Money Market Future data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
MMFutureQuote () | |
MMFutureQuote (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) |
Money Market Future data class.
This class holds single market points of type - MM_FUTURE. Specific data comprise currency, expiry, contract and future tenor.
Definition at line 444 of file marketdatum.hpp.
MMFutureQuote | ( | ) |
Definition at line 446 of file marketdatum.hpp.
MMFutureQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
string | expiry, | ||
string | contract = "" , |
||
Period | tenor = 3 * Months |
||
) |
Constructor.
Definition at line 448 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 454 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 460 of file marketdatum.hpp.
const string & expiry | ( | ) | const |
Definition at line 461 of file marketdatum.hpp.
Natural expiryYear | ( | ) | const |
Definition at line 254 of file marketdatum.cpp.
Month expiryMonth | ( | ) | const |
Definition at line 256 of file marketdatum.cpp.
const string & contract | ( | ) | const |
Definition at line 464 of file marketdatum.hpp.
const Period & tenor | ( | ) | const |
Definition at line 465 of file marketdatum.hpp.
|
private |
|
friend |
Serialization.
Definition at line 474 of file marketdatum.hpp.
|
private |
Definition at line 469 of file marketdatum.hpp.
|
private |
Definition at line 470 of file marketdatum.hpp.
|
private |
Definition at line 471 of file marketdatum.hpp.
|
private |
Definition at line 472 of file marketdatum.hpp.