Cross Currency Basis Swap data class. More...
#include <ored/marketdata/marketdatum.hpp>
Public Member Functions | |
CrossCcyBasisSwapQuote () | |
CrossCcyBasisSwapQuote (Real value, Date asofDate, const string &name, QuoteType quoteType, string flatCcy, Period flatTerm, string ccy, Period term, 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 | |
string | flatCcy_ |
Period | flatTerm_ |
string | ccy_ |
Period | term_ |
Period | maturity_ |
class | boost::serialization::access |
Serialization. More... | |
const string & | flatCcy () const |
const Period & | flatTerm () const |
const string & | ccy () const |
const Period & | term () const |
const Period & | maturity () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Cross Currency Basis 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 reference index of "flat currency" in "flat currency" with spread zero and receives the reference index of "currency" in "currency" plus the quoted spread.
Definition at line 628 of file marketdatum.hpp.
Definition at line 630 of file marketdatum.hpp.
CrossCcyBasisSwapQuote | ( | Real | value, |
Date | asofDate, | ||
const string & | name, | ||
QuoteType | quoteType, | ||
string | flatCcy, | ||
Period | flatTerm, | ||
string | ccy, | ||
Period | term, | ||
Period | maturity = 3 * Months |
||
) |
Constructor.
Definition at line 632 of file marketdatum.hpp.
|
overridevirtual |
Make a copy of the market datum.
Reimplemented from MarketDatum.
Definition at line 638 of file marketdatum.hpp.
const string & flatCcy | ( | ) | const |
Definition at line 644 of file marketdatum.hpp.
const Period & flatTerm | ( | ) | const |
Definition at line 645 of file marketdatum.hpp.
const string & ccy | ( | ) | const |
Definition at line 646 of file marketdatum.hpp.
const Period & term | ( | ) | const |
Definition at line 647 of file marketdatum.hpp.
const Period & maturity | ( | ) | const |
Definition at line 648 of file marketdatum.hpp.
|
private |
|
friend |
Serialization.
Definition at line 658 of file marketdatum.hpp.
|
private |
Definition at line 652 of file marketdatum.hpp.
|
private |
Definition at line 653 of file marketdatum.hpp.
|
private |
Definition at line 654 of file marketdatum.hpp.
|
private |
Definition at line 655 of file marketdatum.hpp.
|
private |
Definition at line 656 of file marketdatum.hpp.