|
| 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 |
|
|
enum class | InstrumentType {
ZERO
, DISCOUNT
, MM
, MM_FUTURE
,
OI_FUTURE
, FRA
, IMM_FRA
, IR_SWAP
,
BASIS_SWAP
, BMA_SWAP
, CC_BASIS_SWAP
, CC_FIX_FLOAT_SWAP
,
CDS
, CDS_INDEX
, FX_SPOT
, FX_FWD
,
HAZARD_RATE
, RECOVERY_RATE
, SWAPTION
, CAPFLOOR
,
FX_OPTION
, ZC_INFLATIONSWAP
, ZC_INFLATIONCAPFLOOR
, YY_INFLATIONSWAP
,
YY_INFLATIONCAPFLOOR
, SEASONALITY
, EQUITY_SPOT
, EQUITY_FWD
,
EQUITY_DIVIDEND
, EQUITY_OPTION
, BOND
, BOND_OPTION
,
INDEX_CDS_OPTION
, COMMODITY_SPOT
, COMMODITY_FWD
, CORRELATION
,
COMMODITY_OPTION
, CPR
, RATING
, NONE
} |
| Supported market instrument types. More...
|
|
enum class | QuoteType {
BASIS_SPREAD
, CREDIT_SPREAD
, CONV_CREDIT_SPREAD
, YIELD_SPREAD
,
HAZARD_RATE
, RATE
, RATIO
, PRICE
,
RATE_LNVOL
, RATE_NVOL
, RATE_SLNVOL
, BASE_CORRELATION
,
SHIFT
, TRANSITION_PROBABILITY
, NONE
} |
| Supported market quote types. More...
|
|
Handle< Quote > | quote_ |
|
Date | asofDate_ |
|
string | name_ |
|
InstrumentType | instrumentType_ |
|
QuoteType | quoteType_ |
|
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.