QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
List of all members
CrossCurrencyBasisSwapRateHelperBase Class Reference

Base class for cross-currency basis swap rate helpers. More...

#include <ql/experimental/termstructures/crosscurrencyratehelpers.hpp>

+ Inheritance diagram for CrossCurrencyBasisSwapRateHelperBase:
+ Collaboration diagram for CrossCurrencyBasisSwapRateHelperBase:

RateHelper interface

Period tenor_
 
Natural fixingDays_
 
Calendar calendar_
 
BusinessDayConvention convention_
 
bool endOfMonth_
 
ext::shared_ptr< IborIndexbaseCcyIdx_
 
ext::shared_ptr< IborIndexquoteCcyIdx_
 
Handle< YieldTermStructurecollateralHandle_
 
bool isFxBaseCurrencyCollateralCurrency_
 
bool isBasisOnFxBaseCurrencyLeg_
 
Leg baseCcyIborLeg_
 
Leg quoteCcyIborLeg_
 
RelinkableHandle< YieldTermStructuretermStructureHandle_
 
void setTermStructure (YieldTermStructure *) override
 
 CrossCurrencyBasisSwapRateHelperBase (const Handle< Quote > &basis, const Period &tenor, Natural fixingDays, Calendar calendar, BusinessDayConvention convention, bool endOfMonth, ext::shared_ptr< IborIndex > baseCurrencyIndex, ext::shared_ptr< IborIndex > quoteCurrencyIndex, Handle< YieldTermStructure > collateralCurve, bool isFxBaseCurrencyCollateralCurrency, bool isBasisOnFxBaseCurrencyLeg)
 
void initializeDates () override
 
const Handle< YieldTermStructure > & baseCcyLegDiscountHandle () const
 
const Handle< YieldTermStructure > & quoteCcyLegDiscountHandle () const
 

Additional Inherited Members

- Public Types inherited from Observer
typedef set_type::iterator iterator
 
- Public Member Functions inherited from RelativeDateBootstrapHelper< TS >
 RelativeDateBootstrapHelper (const Handle< Quote > &quote)
 
 RelativeDateBootstrapHelper (Real quote)
 
void update () override
 
- Public Member Functions inherited from BootstrapHelper< TS >
 BootstrapHelper (Handle< Quote > quote)
 
 BootstrapHelper (Real quote)
 
 ~BootstrapHelper () override=default
 
const Handle< Quote > & quote () const
 
virtual Real impliedQuote () const =0
 
Real quoteError () const
 
virtual void setTermStructure (TS *)
 sets the term structure to be used for pricing More...
 
virtual Date earliestDate () const
 earliest relevant date More...
 
virtual Date maturityDate () const
 instrument's maturity date More...
 
virtual Date latestRelevantDate () const
 latest relevant date More...
 
virtual Date pillarDate () const
 pillar date More...
 
virtual Date latestDate () const
 latest date More...
 
virtual void accept (AcyclicVisitor &)
 
- Public Member Functions inherited from Observer
 Observer ()=default
 
 Observer (const Observer &)
 
Observeroperator= (const Observer &)
 
virtual ~Observer ()
 
std::pair< iterator, boolregisterWith (const ext::shared_ptr< Observable > &)
 
void registerWithObservables (const ext::shared_ptr< Observer > &)
 
Size unregisterWith (const ext::shared_ptr< Observable > &)
 
void unregisterWithAll ()
 
virtual void update ()=0
 
virtual void deepUpdate ()
 
- Public Member Functions inherited from Observable
 Observable ()
 
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
 Observable (Observable &&)=delete
 
Observableoperator= (Observable &&)=delete
 
virtual ~Observable ()=default
 
void notifyObservers ()
 
- Protected Member Functions inherited from RelativeDateBootstrapHelper< TS >
- Protected Attributes inherited from RelativeDateBootstrapHelper< TS >
Date evaluationDate_
 
- Protected Attributes inherited from BootstrapHelper< TS >
Handle< Quotequote_
 
TS * termStructure_
 
Date earliestDate_
 
Date latestDate_
 
Date maturityDate_
 
Date latestRelevantDate_
 
Date pillarDate_
 

Detailed Description

Base class for cross-currency basis swap rate helpers.

Definition at line 32 of file crosscurrencyratehelpers.hpp.

Constructor & Destructor Documentation

◆ CrossCurrencyBasisSwapRateHelperBase()

CrossCurrencyBasisSwapRateHelperBase ( const Handle< Quote > &  basis,
const Period tenor,
Natural  fixingDays,
Calendar  calendar,
BusinessDayConvention  convention,
bool  endOfMonth,
ext::shared_ptr< IborIndex baseCurrencyIndex,
ext::shared_ptr< IborIndex quoteCurrencyIndex,
Handle< YieldTermStructure collateralCurve,
bool  isFxBaseCurrencyCollateralCurrency,
bool  isBasisOnFxBaseCurrencyLeg 
)
protected

Definition at line 146 of file crosscurrencyratehelpers.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ setTermStructure()

void setTermStructure ( YieldTermStructure t)
override

Definition at line 195 of file crosscurrencyratehelpers.cpp.

+ Here is the call graph for this function:

◆ initializeDates()

void initializeDates ( )
overrideprotectedvirtual

Implements RelativeDateBootstrapHelper< TS >.

Definition at line 170 of file crosscurrencyratehelpers.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ baseCcyLegDiscountHandle()

const Handle< YieldTermStructure > & baseCcyLegDiscountHandle ( ) const
protected

Definition at line 182 of file crosscurrencyratehelpers.cpp.

+ Here is the caller graph for this function:

◆ quoteCcyLegDiscountHandle()

const Handle< YieldTermStructure > & quoteCcyLegDiscountHandle ( ) const
protected

Definition at line 189 of file crosscurrencyratehelpers.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ tenor_

Period tenor_
protected

Definition at line 55 of file crosscurrencyratehelpers.hpp.

◆ fixingDays_

Natural fixingDays_
protected

Definition at line 56 of file crosscurrencyratehelpers.hpp.

◆ calendar_

Calendar calendar_
protected

Definition at line 57 of file crosscurrencyratehelpers.hpp.

◆ convention_

BusinessDayConvention convention_
protected

Definition at line 58 of file crosscurrencyratehelpers.hpp.

◆ endOfMonth_

bool endOfMonth_
protected

Definition at line 59 of file crosscurrencyratehelpers.hpp.

◆ baseCcyIdx_

ext::shared_ptr<IborIndex> baseCcyIdx_
protected

Definition at line 60 of file crosscurrencyratehelpers.hpp.

◆ quoteCcyIdx_

ext::shared_ptr<IborIndex> quoteCcyIdx_
protected

Definition at line 61 of file crosscurrencyratehelpers.hpp.

◆ collateralHandle_

Handle<YieldTermStructure> collateralHandle_
protected

Definition at line 62 of file crosscurrencyratehelpers.hpp.

◆ isFxBaseCurrencyCollateralCurrency_

bool isFxBaseCurrencyCollateralCurrency_
protected

Definition at line 63 of file crosscurrencyratehelpers.hpp.

◆ isBasisOnFxBaseCurrencyLeg_

bool isBasisOnFxBaseCurrencyLeg_
protected

Definition at line 64 of file crosscurrencyratehelpers.hpp.

◆ baseCcyIborLeg_

Leg baseCcyIborLeg_
protected

Definition at line 66 of file crosscurrencyratehelpers.hpp.

◆ quoteCcyIborLeg_

Leg quoteCcyIborLeg_
protected

Definition at line 67 of file crosscurrencyratehelpers.hpp.

◆ termStructureHandle_

RelinkableHandle<YieldTermStructure> termStructureHandle_
protected

Definition at line 69 of file crosscurrencyratehelpers.hpp.