Equity/Index spot price data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
EquitySpotQuote () | |
EquitySpotQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string equityName, string ccy) | |
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 | eqName_ |
string | ccy_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | eqName () const |
const string & | ccy () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Equity/Index spot price data class.
This class holds single market points of type
Definition at line 1425 of file marketdatum.hpp.
EquitySpotQuote | ( | ) |
Definition at line 1427 of file marketdatum.hpp.
EquitySpotQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | equityName, | ||
string | ccy | ||
) |
Constructor.
Definition at line 1429 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 1434 of file marketdatum.hpp.
const string & eqName | ( | ) | const |
Definition at line 1440 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 1441 of file marketdatum.hpp.
|
private |
Definition at line 559 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 1447 of file marketdatum.hpp.
|
private |
Definition at line 1444 of file marketdatum.hpp.
|
private |
Definition at line 1445 of file marketdatum.hpp.