|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Rate helper for bootstrapping over FRA rates. More...
#include <ratehelpers.hpp>
Inheritance diagram for FraRateHelper:
Collaboration diagram for FraRateHelper:Public Member Functions | |
| FraRateHelper (const std::variant< Rate, Handle< Quote > > &rate, Natural monthsToStart, Natural monthsToEnd, Natural fixingDays, const Calendar &calendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter &dayCounter, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
| FraRateHelper (const std::variant< Rate, Handle< Quote > > &rate, Natural monthsToStart, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
| FraRateHelper (const std::variant< Rate, Handle< Quote > > &rate, Period periodToStart, Natural lengthInMonths, Natural fixingDays, const Calendar &calendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter &dayCounter, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
| FraRateHelper (const std::variant< Rate, Handle< Quote > > &rate, Period periodToStart, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
| FraRateHelper (const std::variant< Rate, Handle< Quote > > &rate, Natural immOffsetStart, Natural immOffsetEnd, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
| FraRateHelper (const std::variant< Rate, Handle< Quote > > &rate, Date startDate, Date endDate, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
RateHelper interface | |
| Real | impliedQuote () const override |
| void | setTermStructure (YieldTermStructure *) override |
Public Member Functions inherited from RelativeDateBootstrapHelper< TS > | |
| RelativeDateBootstrapHelper (const std::variant< Spread, Handle< Quote > > "e, bool updateDates=true) | |
| void | update () override |
Public Member Functions inherited from BootstrapHelper< TS > | |
| BootstrapHelper (const std::variant< Spread, Handle< Quote > > "e) | |
| ~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 ()=default | |
| Observable (const Observable &) | |
| Observable & | operator= (const Observable &) |
| Observable (Observable &&)=delete | |
| Observable & | operator= (Observable &&)=delete |
| virtual | ~Observable ()=default |
| void | notifyObservers () |
Visitability | |
| Date | fixingDate_ |
| ext::optional< Period > | periodToStart_ |
| ext::optional< Natural > | immOffsetStart_ |
| ext::optional< Natural > | immOffsetEnd_ |
| Pillar::Choice | pillarChoice_ |
| ext::shared_ptr< IborIndex > | iborIndex_ |
| RelinkableHandle< YieldTermStructure > | termStructureHandle_ |
| bool | useIndexedCoupon_ |
| Real | spanningTime_ |
| void | accept (AcyclicVisitor &) override |
| void | initializeDates () override |
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_ |
| bool | updateDates_ |
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 FRA rates.
Definition at line 124 of file ratehelpers.hpp.
| FraRateHelper | ( | const std::variant< Rate, Handle< Quote > > & | rate, |
| Natural | monthsToStart, | ||
| Natural | monthsToEnd, | ||
| Natural | fixingDays, | ||
| const Calendar & | calendar, | ||
| BusinessDayConvention | convention, | ||
| bool | endOfMonth, | ||
| const DayCounter & | dayCounter, | ||
| Pillar::Choice | pillar = Pillar::LastRelevantDate, |
||
| Date | customPillarDate = Date(), |
||
| bool | useIndexedCoupon = true |
||
| ) |
Definition at line 251 of file ratehelpers.cpp.
| FraRateHelper | ( | const std::variant< Rate, Handle< Quote > > & | rate, |
| Natural | monthsToStart, | ||
| const ext::shared_ptr< IborIndex > & | iborIndex, | ||
| Pillar::Choice | pillar = Pillar::LastRelevantDate, |
||
| Date | customPillarDate = Date(), |
||
| bool | useIndexedCoupon = true |
||
| ) |
Definition at line 270 of file ratehelpers.cpp.
| FraRateHelper | ( | const std::variant< Rate, Handle< Quote > > & | rate, |
| Period | periodToStart, | ||
| Natural | lengthInMonths, | ||
| Natural | fixingDays, | ||
| const Calendar & | calendar, | ||
| BusinessDayConvention | convention, | ||
| bool | endOfMonth, | ||
| const DayCounter & | dayCounter, | ||
| Pillar::Choice | pillar = Pillar::LastRelevantDate, |
||
| Date | customPillarDate = Date(), |
||
| bool | useIndexedCoupon = true |
||
| ) |
| FraRateHelper | ( | const std::variant< Rate, Handle< Quote > > & | rate, |
| Period | periodToStart, | ||
| const ext::shared_ptr< IborIndex > & | iborIndex, | ||
| Pillar::Choice | pillar = Pillar::LastRelevantDate, |
||
| Date | customPillarDate = Date(), |
||
| bool | useIndexedCoupon = true |
||
| ) |
| FraRateHelper | ( | const std::variant< Rate, Handle< Quote > > & | rate, |
| Natural | immOffsetStart, | ||
| Natural | immOffsetEnd, | ||
| const ext::shared_ptr< IborIndex > & | iborIndex, | ||
| Pillar::Choice | pillar = Pillar::LastRelevantDate, |
||
| Date | customPillarDate = Date(), |
||
| bool | useIndexedCoupon = true |
||
| ) |
| FraRateHelper | ( | const std::variant< Rate, Handle< Quote > > & | rate, |
| Date | startDate, | ||
| Date | endDate, | ||
| const ext::shared_ptr< IborIndex > & | iborIndex, | ||
| Pillar::Choice | pillar = Pillar::LastRelevantDate, |
||
| Date | customPillarDate = Date(), |
||
| bool | useIndexedCoupon = true |
||
| ) |
|
overridevirtual |
Implements BootstrapHelper< TS >.
Definition at line 360 of file ratehelpers.cpp.
|
override |
|
overridevirtual |
Reimplemented from BootstrapHelper< TS >.
Definition at line 452 of file ratehelpers.cpp.
Here is the call graph for this function:
|
overrideprivatevirtual |
Implements RelativeDateBootstrapHelper< TS >.
Definition at line 392 of file ratehelpers.cpp.
Here is the caller graph for this function:
|
private |
Definition at line 185 of file ratehelpers.hpp.
|
private |
Definition at line 186 of file ratehelpers.hpp.
|
private |
Definition at line 187 of file ratehelpers.hpp.
|
private |
Definition at line 187 of file ratehelpers.hpp.
|
private |
Definition at line 188 of file ratehelpers.hpp.
|
private |
Definition at line 189 of file ratehelpers.hpp.
|
private |
Definition at line 190 of file ratehelpers.hpp.
|
private |
Definition at line 191 of file ratehelpers.hpp.
|
private |
Definition at line 192 of file ratehelpers.hpp.