#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
BMASwapQuote () | |
BMASwapQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, Period term, string ccy="USD", Period maturity=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 | |
Period | term_ |
string | ccy_ |
Period | maturity_ |
class | boost::serialization::access |
Serialization. More... | |
const Period & | term () const |
const string & | ccy () const |
const Period & | maturity () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
BMA Swap data class.
This class holds single market points of type
The quote (in Basis Points) is then interpreted as follows:
A fair Swap pays the libor index with gearing equal to the quote and receives the bma index.
Definition at line 583 of file marketdatum.hpp.
BMASwapQuote | ( | ) |
Definition at line 585 of file marketdatum.hpp.
BMASwapQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
Period | term, | ||
string | ccy = "USD" , |
||
Period | maturity = 3 * Months |
||
) |
Constructor.
Definition at line 587 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 593 of file marketdatum.hpp.
const Period & term | ( | ) | const |
Definition at line 599 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 600 of file marketdatum.hpp.
const Period & maturity | ( | ) | const |
Definition at line 601 of file marketdatum.hpp.
|
private |
Definition at line 402 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 608 of file marketdatum.hpp.
|
private |
Definition at line 604 of file marketdatum.hpp.
|
private |
Definition at line 605 of file marketdatum.hpp.
|
private |
Definition at line 606 of file marketdatum.hpp.