Equity/Index Option data class. More...
#include <ored/marketdata/marketdatum.hpp>
Inheritance diagram for EquityOptionQuote:
Collaboration diagram for EquityOptionQuote:Public Member Functions | |
| EquityOptionQuote () | |
| EquityOptionQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string equityName, string ccy, string expiry, const QuantLib::ext::shared_ptr< BaseStrike > &strike, bool isCall=true) | |
| 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_ |
| string | expiry_ |
| QuantLib::ext::shared_ptr< BaseStrike > | strike_ |
| bool | isCall_ |
| class | boost::serialization::access |
| Serialization. More... | |
| const string & | eqName () const |
| const string & | ccy () const |
| const string & | expiry () const |
| const QuantLib::ext::shared_ptr< BaseStrike > & | strike () const |
| bool | isCall () |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Equity/Index Option data class.
This class holds single market points of type
Definition at line 1547 of file marketdatum.hpp.
Definition at line 1549 of file marketdatum.hpp.
| EquityOptionQuote | ( | Real | value, |
| Date | asofDate, | ||
| const string & | name, | ||
| QuoteType | quoteType, | ||
| string | equityName, | ||
| string | ccy, | ||
| string | expiry, | ||
| const QuantLib::ext::shared_ptr< BaseStrike > & | strike, | ||
| bool | isCall = true |
||
| ) |
Constructor.
Definition at line 161 of file marketdatum.cpp.
Here is the call graph for this function:
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 1556 of file marketdatum.hpp.
| const string & eqName | ( | ) | const |
Definition at line 1562 of file marketdatum.hpp.
| const string & ccy | ( | ) | const |
Definition at line 1563 of file marketdatum.hpp.
| const string & expiry | ( | ) | const |
| const QuantLib::ext::shared_ptr< BaseStrike > & strike | ( | ) | const |
Definition at line 1565 of file marketdatum.hpp.
| bool isCall | ( | ) |
Definition at line 1566 of file marketdatum.hpp.
|
private |
|
friend |
Serialization.
Definition at line 1575 of file marketdatum.hpp.
|
private |
Definition at line 1569 of file marketdatum.hpp.
|
private |
Definition at line 1570 of file marketdatum.hpp.
|
private |
Definition at line 1571 of file marketdatum.hpp.
|
private |
Definition at line 1572 of file marketdatum.hpp.
|
private |
Definition at line 1573 of file marketdatum.hpp.