Swap market data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
SwapQuote () | |
SwapQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, Period fwdStart, Period term, Period tenor, const std::string &indexName="") | |
Constructor if fwdStart / tenor is given. More... | |
SwapQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string ccy, Date startDate, Date maturityDate, Period tenor, const std::string &indexName="") | |
Constructor if startDate, maturityDate is given. More... | |
QuantLib::ext::shared_ptr< MarketDatum > | clone () override |
Make a copy of the market datum. More... | |
![]() | |
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_ |
Period | fwdStart_ |
Period | term_ |
Period | tenor_ |
std::string | indexName_ |
Date | startDate_ |
Date | maturityDate_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | ccy () const |
const Period & | fwdStart () const |
const Period & | term () const |
const Period & | tenor () const |
const std::string & | indeName () const |
const Date & | startDate () const |
const Date & | maturityDate () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Swap market data class.
This class holds single market points of type
Specific data comprise currency, fwdStart, tenor, term, startDate, maturityDate The constructor accepts either fwdStart/term or startDate/maturityDate
Definition at line 317 of file marketdatum.hpp.
SwapQuote | ( | ) |
Definition at line 319 of file marketdatum.hpp.
SwapQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
Period | fwdStart, | ||
Period | term, | ||
Period | tenor, | ||
const std::string & | indexName = "" |
||
) |
Constructor if fwdStart / tenor is given.
Definition at line 321 of file marketdatum.hpp.
SwapQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | ccy, | ||
Date | startDate, | ||
Date | maturityDate, | ||
Period | tenor, | ||
const std::string & | indexName = "" |
||
) |
Constructor if startDate, maturityDate is given.
Definition at line 326 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 332 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 343 of file marketdatum.hpp.
const Period & fwdStart | ( | ) | const |
Definition at line 344 of file marketdatum.hpp.
const Period & term | ( | ) | const |
Definition at line 345 of file marketdatum.hpp.
const Period & tenor | ( | ) | const |
Definition at line 346 of file marketdatum.hpp.
const std::string & indeName | ( | ) | const |
Definition at line 347 of file marketdatum.hpp.
const Date & startDate | ( | ) | const |
Definition at line 348 of file marketdatum.hpp.
const Date & maturityDate | ( | ) | const |
Definition at line 349 of file marketdatum.hpp.
|
private |
Definition at line 351 of file marketdatum.cpp.
|
friend |
Serialization.
Definition at line 360 of file marketdatum.hpp.
|
private |
Definition at line 352 of file marketdatum.hpp.
|
private |
Definition at line 353 of file marketdatum.hpp.
|
private |
Definition at line 354 of file marketdatum.hpp.
|
private |
Definition at line 355 of file marketdatum.hpp.
|
private |
Definition at line 356 of file marketdatum.hpp.
|
private |
Definition at line 357 of file marketdatum.hpp.
|
private |
Definition at line 358 of file marketdatum.hpp.