Logo
Reference manual - version ored_version
CrossCcyBasisSwapConvention Class Reference

Container for storing Cross Currency Basis Swap quote conventions. More...

#include <ored/configuration/conventions.hpp>

Inheritance diagram for CrossCcyBasisSwapConvention:

Public Member Functions

Constructors
 CrossCcyBasisSwapConvention ()
 Default constructor.
 CrossCcyBasisSwapConvention (const string &id, const string &strSettlementDays, const string &strSettlementCalendar, const string &strRollConvention, const string &flatIndex, const string &spreadIndex, const string &strEom="", const string &strIsResettable="", const string &strFlatIndexIsResettable="", const std::string &strFlatTenor="", const std::string &strSpreadTenor="", const string &strPaymentLag="", const string &strFlatPaymentLag="", const string &strIncludeSpread="", const string &strLookback="", const string &strFixingDays="", const string &strRateCutoff="", const string &strIsAveraged="", const string &strFlatIncludeSpread="", const string &strFlatLookback="", const string &strFlatFixingDays="", const string &strFlatRateCutoff="", const string &strFlatIsAveraged="", const Conventions *conventions=nullptr)
 Detailed constructor.
Inspectors
Natural settlementDays () const
const Calendar & settlementCalendar () const
BusinessDayConvention rollConvention () const
QuantLib::ext::shared_ptr< IborIndex > flatIndex () const
QuantLib::ext::shared_ptr< IborIndex > spreadIndex () const
const stringflatIndexName () const
const stringspreadIndexName () const
bool eom () const
bool isResettable () const
bool flatIndexIsResettable () const
const QuantLib::Period & flatTenor () const
const QuantLib::Period & spreadTenor () const
Size paymentLag () const
Size flatPaymentLag () const
QuantLib::ext::optional< bool > includeSpread () const
QuantLib::ext::optional< QuantLib::Period > lookback () const
QuantLib::ext::optional< QuantLib::Size > fixingDays () const
QuantLib::ext::optional< Size > rateCutoff () const
QuantLib::ext::optional< bool > isAveraged () const
QuantLib::ext::optional< bool > flatIncludeSpread () const
QuantLib::ext::optional< QuantLib::Period > flatLookback () const
QuantLib::ext::optional< QuantLib::Size > flatFixingDays () const
QuantLib::ext::optional< Size > flatRateCutoff () const
QuantLib::ext::optional< bool > flatIsAveraged () const
Public Member Functions inherited from Convention
virtual ~Convention ()
 Default destructor.
const stringid () const
Type type () const
Public Member Functions inherited from XMLSerializable
void fromFile (const std::string &filename)
void toFile (const std::string &filename) const
void fromXMLString (const std::string &xml)
 Parse from XML string.
std::string toXMLString () const
 Parse from XML string.
std::string toXMLStringUnformatted () const

Serialisation

virtual void fromXML (XMLNode *node) override
virtual XMLNode * toXML (XMLDocument &doc) const override
virtual void build () override

Additional Inherited Members

Public Types inherited from Convention
enum class  Type {
  Zero , Deposit , Future , FRA ,
  OIS , Swap , AverageOIS , TenorBasisSwap ,
  TenorBasisTwoSwap , BMABasisSwap , FX , CrossCcyBasis ,
  CrossCcyFixFloat , CDS , IborIndex , OvernightIndex ,
  SwapIndex , ZeroInflationIndex , InflationSwap , SecuritySpread ,
  CMSSpreadOption , CommodityForward , CommodityFuture , FxOption ,
  FxOptionTimeWeighting , BondYield
}
 Supported convention types.
 Convention (const string &id, Type type)
Type type_
string id_

Detailed Description

Container for storing Cross Currency Basis Swap quote conventions.

Member Function Documentation

◆ fromXML()

virtual void fromXML ( XMLNode * node)
overridevirtual

Implements XMLSerializable.

◆ toXML()

virtual XMLNode * toXML ( XMLDocument & doc) const
overridevirtual

Implements XMLSerializable.

◆ build()

virtual void build ( )
overridevirtual

Implements Convention.