QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
Rate helper for bootstrapping over ibor-ibor basis swaps. More...
#include <ql/experimental/termstructures/basisswapratehelpers.hpp>
Public Member Functions | |
IborIborBasisSwapRateHelper (const Handle< Quote > &basis, const Period &tenor, Natural settlementDays, Calendar calendar, BusinessDayConvention convention, bool endOfMonth, const ext::shared_ptr< IborIndex > &baseIndex, const ext::shared_ptr< IborIndex > &otherIndex, Handle< YieldTermStructure > discountHandle, bool bootstrapBaseCurve) | |
Real | impliedQuote () const override |
void | accept (AcyclicVisitor &) override |
Public Member Functions inherited from RelativeDateBootstrapHelper< TS > | |
RelativeDateBootstrapHelper (const Handle< Quote > "e) | |
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 |
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... | |
Public Member Functions inherited from Observer | |
Observer ()=default | |
Observer (const Observer &) | |
Observer & | operator= (const Observer &) |
virtual | ~Observer () |
std::pair< iterator, bool > | registerWith (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 &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
Private Member Functions | |
void | initializeDates () override |
void | setTermStructure (YieldTermStructure *) override |
Private Attributes | |
Period | tenor_ |
Natural | settlementDays_ |
Calendar | calendar_ |
BusinessDayConvention | convention_ |
bool | endOfMonth_ |
ext::shared_ptr< IborIndex > | baseIndex_ |
ext::shared_ptr< IborIndex > | otherIndex_ |
Handle< YieldTermStructure > | discountHandle_ |
bool | bootstrapBaseCurve_ |
ext::shared_ptr< Swap > | swap_ |
RelinkableHandle< YieldTermStructure > | termStructureHandle_ |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Protected Member Functions inherited from RelativeDateBootstrapHelper< TS > | |
Protected Attributes inherited from RelativeDateBootstrapHelper< TS > | |
Date | evaluationDate_ |
Protected Attributes inherited from BootstrapHelper< TS > | |
Handle< Quote > | quote_ |
TS * | termStructure_ |
Date | earliestDate_ |
Date | latestDate_ |
Date | maturityDate_ |
Date | latestRelevantDate_ |
Date | pillarDate_ |
Rate helper for bootstrapping over ibor-ibor basis swaps.
The swap is assumed to pay baseIndex + basis and receive otherIndex. The helper can be used to bootstrap the forecast curve for baseIndex (in which case you'll have to pass bootstrapBaseCurve = true and provide otherIndex with a forecast curve) or the forecast curve for otherIndex (in which case bootstrapBaseCurve = false and baseIndex will need a forecast curve). In both cases, an exogenous discount curve is required.
Definition at line 41 of file basisswapratehelpers.hpp.
IborIborBasisSwapRateHelper | ( | const Handle< Quote > & | basis, |
const Period & | tenor, | ||
Natural | settlementDays, | ||
Calendar | calendar, | ||
BusinessDayConvention | convention, | ||
bool | endOfMonth, | ||
const ext::shared_ptr< IborIndex > & | baseIndex, | ||
const ext::shared_ptr< IborIndex > & | otherIndex, | ||
Handle< YieldTermStructure > | discountHandle, | ||
bool | bootstrapBaseCurve | ||
) |
|
overridevirtual |
Implements BootstrapHelper< TS >.
Definition at line 106 of file basisswapratehelpers.cpp.
|
overridevirtual |
Reimplemented from BootstrapHelper< TS >.
Definition at line 111 of file basisswapratehelpers.cpp.
|
overrideprivatevirtual |
Implements RelativeDateBootstrapHelper< TS >.
Definition at line 63 of file basisswapratehelpers.cpp.
|
overrideprivate |
|
private |
Definition at line 60 of file basisswapratehelpers.hpp.
|
private |
Definition at line 61 of file basisswapratehelpers.hpp.
|
private |
Definition at line 62 of file basisswapratehelpers.hpp.
|
private |
Definition at line 63 of file basisswapratehelpers.hpp.
|
private |
Definition at line 64 of file basisswapratehelpers.hpp.
|
private |
Definition at line 65 of file basisswapratehelpers.hpp.
|
private |
Definition at line 66 of file basisswapratehelpers.hpp.
|
private |
Definition at line 67 of file basisswapratehelpers.hpp.
|
private |
Definition at line 68 of file basisswapratehelpers.hpp.
|
private |
Definition at line 70 of file basisswapratehelpers.hpp.
|
private |
Definition at line 72 of file basisswapratehelpers.hpp.