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

Rate helper for bootstrapping over Overnight Indexed Swap rates. More...

#include <ql/termstructures/yield/oisratehelper.hpp>

+ Inheritance diagram for DatedOISRateHelper:
+ Collaboration diagram for DatedOISRateHelper:

Public Member Functions

 DatedOISRateHelper (const Date &startDate, const Date &endDate, const Handle< Quote > &fixedRate, const ext::shared_ptr< OvernightIndex > &overnightIndex, Handle< YieldTermStructure > discountingCurve={}, bool telescopicValueDates=false, RateAveraging::Type averagingMethod=RateAveraging::Compound, Natural paymentLag=0, BusinessDayConvention paymentConvention=Following, Frequency paymentFrequency=Annual, const Calendar &paymentCalendar=Calendar(), const Period &forwardStart=0 *Days, Spread overnightSpread=0.0, ext::optional< bool > endOfMonth=ext::nullopt)
 
RateHelper interface
Real impliedQuote () const override
 
void setTermStructure (YieldTermStructure *) override
 
- Public Member Functions inherited from BootstrapHelper< TS >
 BootstrapHelper (Handle< Quote > quote)
 
 BootstrapHelper (Real quote)
 
 ~BootstrapHelper () override=default
 
const Handle< Quote > & quote () const
 
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...
 
void update () override
 
- 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 ()
 

Visitability

ext::shared_ptr< OvernightIndexedSwapswap_
 
RelinkableHandle< YieldTermStructuretermStructureHandle_
 
Handle< YieldTermStructurediscountHandle_
 
bool telescopicValueDates_
 
RelinkableHandle< YieldTermStructurediscountRelinkableHandle_
 
RateAveraging::Type averagingMethod_
 
void accept (AcyclicVisitor &) override
 

Additional Inherited Members

- Public Types inherited from Observer
typedef set_type::iterator iterator
 
- Protected Attributes inherited from BootstrapHelper< TS >
Handle< Quotequote_
 
TS * termStructure_
 
Date earliestDate_
 
Date latestDate_
 
Date maturityDate_
 
Date latestRelevantDate_
 
Date pillarDate_
 

Detailed Description

Rate helper for bootstrapping over Overnight Indexed Swap rates.

Definition at line 94 of file oisratehelper.hpp.

Constructor & Destructor Documentation

◆ DatedOISRateHelper()

DatedOISRateHelper ( const Date startDate,
const Date endDate,
const Handle< Quote > &  fixedRate,
const ext::shared_ptr< OvernightIndex > &  overnightIndex,
Handle< YieldTermStructure discountingCurve = {},
bool  telescopicValueDates = false,
RateAveraging::Type  averagingMethod = RateAveraging::Compound,
Natural  paymentLag = 0,
BusinessDayConvention  paymentConvention = Following,
Frequency  paymentFrequency = Annual,
const Calendar paymentCalendar = Calendar(),
const Period forwardStart = 0 * Days,
Spread  overnightSpread = 0.0,
ext::optional< bool endOfMonth = ext::nullopt 
)

Definition at line 152 of file oisratehelper.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ impliedQuote()

Real impliedQuote ( ) const
overridevirtual

Implements BootstrapHelper< TS >.

Definition at line 220 of file oisratehelper.cpp.

◆ setTermStructure()

void setTermStructure ( YieldTermStructure t)
override

Definition at line 204 of file oisratehelper.cpp.

+ Here is the call graph for this function:

◆ accept()

void accept ( AcyclicVisitor v)
overridevirtual

Reimplemented from BootstrapHelper< TS >.

Definition at line 227 of file oisratehelper.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ swap_

ext::shared_ptr<OvernightIndexedSwap> swap_
protected

Definition at line 121 of file oisratehelper.hpp.

◆ termStructureHandle_

RelinkableHandle<YieldTermStructure> termStructureHandle_
protected

Definition at line 122 of file oisratehelper.hpp.

◆ discountHandle_

Handle<YieldTermStructure> discountHandle_
protected

Definition at line 124 of file oisratehelper.hpp.

◆ telescopicValueDates_

bool telescopicValueDates_
protected

Definition at line 125 of file oisratehelper.hpp.

◆ discountRelinkableHandle_

RelinkableHandle<YieldTermStructure> discountRelinkableHandle_
protected

Definition at line 126 of file oisratehelper.hpp.

◆ averagingMethod_

RateAveraging::Type averagingMethod_
protected

Definition at line 127 of file oisratehelper.hpp.