QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Rate helper for bootstrapping over FRA rates. More...
#include <ratehelpers.hpp>
Public Member Functions | |
FraRateHelper (const 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 (Rate 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 Handle< Quote > &rate, Natural monthsToStart, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
FraRateHelper (Rate rate, Natural monthsToStart, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
FraRateHelper (const 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 (Rate 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 Handle< Quote > &rate, Period periodToStart, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
FraRateHelper (Rate rate, Period periodToStart, const ext::shared_ptr< IborIndex > &iborIndex, Pillar::Choice pillar=Pillar::LastRelevantDate, Date customPillarDate=Date(), bool useIndexedCoupon=true) | |
FraRateHelper (const 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 (Rate rate, Natural immOffsetStart, Natural immOffsetEnd, 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 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 () |
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_ |
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 150 of file ratehelpers.hpp.
FraRateHelper | ( | const 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 281 of file ratehelpers.cpp.
FraRateHelper | ( | Rate | 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 300 of file ratehelpers.cpp.
FraRateHelper | ( | const 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 314 of file ratehelpers.cpp.
FraRateHelper | ( | Rate | rate, |
Natural | monthsToStart, | ||
const ext::shared_ptr< IborIndex > & | iborIndex, | ||
Pillar::Choice | pillar = Pillar::LastRelevantDate , |
||
Date | customPillarDate = Date() , |
||
bool | useIndexedCoupon = true |
||
) |
Definition at line 323 of file ratehelpers.cpp.
FraRateHelper | ( | const 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 | ( | Rate | 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 |
||
) |
Definition at line 355 of file ratehelpers.cpp.
FraRateHelper | ( | const Handle< Quote > & | rate, |
Period | periodToStart, | ||
const ext::shared_ptr< IborIndex > & | iborIndex, | ||
Pillar::Choice | pillar = Pillar::LastRelevantDate , |
||
Date | customPillarDate = Date() , |
||
bool | useIndexedCoupon = true |
||
) |
FraRateHelper | ( | Rate | rate, |
Period | periodToStart, | ||
const ext::shared_ptr< IborIndex > & | iborIndex, | ||
Pillar::Choice | pillar = Pillar::LastRelevantDate , |
||
Date | customPillarDate = Date() , |
||
bool | useIndexedCoupon = true |
||
) |
Definition at line 388 of file ratehelpers.cpp.
FraRateHelper | ( | const 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 | ( | Rate | rate, |
Natural | immOffsetStart, | ||
Natural | immOffsetEnd, | ||
const ext::shared_ptr< IborIndex > & | iborIndex, | ||
Pillar::Choice | pillar = Pillar::LastRelevantDate , |
||
Date | customPillarDate = Date() , |
||
bool | useIndexedCoupon = true |
||
) |
Definition at line 414 of file ratehelpers.cpp.
|
overridevirtual |
Implements BootstrapHelper< TS >.
Definition at line 424 of file ratehelpers.cpp.
|
override |
|
overridevirtual |
Reimplemented from BootstrapHelper< TS >.
Definition at line 514 of file ratehelpers.cpp.
|
overrideprivatevirtual |
Implements RelativeDateBootstrapHelper< TS >.
Definition at line 456 of file ratehelpers.cpp.
|
private |
Definition at line 245 of file ratehelpers.hpp.
|
private |
Definition at line 246 of file ratehelpers.hpp.
|
private |
Definition at line 247 of file ratehelpers.hpp.
|
private |
Definition at line 247 of file ratehelpers.hpp.
|
private |
Definition at line 248 of file ratehelpers.hpp.
|
private |
Definition at line 249 of file ratehelpers.hpp.
|
private |
Definition at line 250 of file ratehelpers.hpp.
|
private |
Definition at line 251 of file ratehelpers.hpp.
|
private |
Definition at line 252 of file ratehelpers.hpp.