QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Rate helper for bootstrapping over IborIndex futures prices. More...
#include <ratehelpers.hpp>
Public Member Functions | |
FuturesRateHelper (const Handle< Quote > &price, const Date &iborStartDate, Natural lengthInMonths, const Calendar &calendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter &dayCounter, Handle< Quote > convexityAdjustment={}, Futures::Type type=Futures::IMM) | |
FuturesRateHelper (Real price, const Date &iborStartDate, Natural lengthInMonths, const Calendar &calendar, BusinessDayConvention convention, bool endOfMonth, const DayCounter &dayCounter, Rate convexityAdjustment=0.0, Futures::Type type=Futures::IMM) | |
FuturesRateHelper (const Handle< Quote > &price, const Date &iborStartDate, const Date &iborEndDate, const DayCounter &dayCounter, Handle< Quote > convexityAdjustment={}, Futures::Type type=Futures::IMM) | |
FuturesRateHelper (Real price, const Date &iborStartDate, const Date &endDate, const DayCounter &dayCounter, Rate convexityAdjustment=0.0, Futures::Type type=Futures::IMM) | |
FuturesRateHelper (const Handle< Quote > &price, const Date &iborStartDate, const ext::shared_ptr< IborIndex > &iborIndex, const Handle< Quote > &convexityAdjustment={}, Futures::Type type=Futures::IMM) | |
FuturesRateHelper (Real price, const Date &iborStartDate, const ext::shared_ptr< IborIndex > &iborIndex, Rate convexityAdjustment=0.0, Futures::Type type=Futures::IMM) | |
RateHelper interface | |
Real | impliedQuote () const override |
FuturesRateHelper inspectors | |
Real | convexityAdjustment () const |
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 &) | |
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 | |
Time | yearFraction_ |
Handle< Quote > | convAdj_ |
void | accept (AcyclicVisitor &) override |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
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 IborIndex futures prices.
Definition at line 51 of file ratehelpers.hpp.
FuturesRateHelper | ( | const Handle< Quote > & | price, |
const Date & | iborStartDate, | ||
Natural | lengthInMonths, | ||
const Calendar & | calendar, | ||
BusinessDayConvention | convention, | ||
bool | endOfMonth, | ||
const DayCounter & | dayCounter, | ||
Handle< Quote > | convexityAdjustment = {} , |
||
Futures::Type | type = Futures::IMM |
||
) |
FuturesRateHelper | ( | Real | price, |
const Date & | iborStartDate, | ||
Natural | lengthInMonths, | ||
const Calendar & | calendar, | ||
BusinessDayConvention | convention, | ||
bool | endOfMonth, | ||
const DayCounter & | dayCounter, | ||
Rate | convexityAdjustment = 0.0 , |
||
Futures::Type | type = Futures::IMM |
||
) |
Definition at line 90 of file ratehelpers.cpp.
FuturesRateHelper | ( | const Handle< Quote > & | price, |
const Date & | iborStartDate, | ||
const Date & | iborEndDate, | ||
const DayCounter & | dayCounter, | ||
Handle< Quote > | convexityAdjustment = {} , |
||
Futures::Type | type = Futures::IMM |
||
) |
FuturesRateHelper | ( | Real | price, |
const Date & | iborStartDate, | ||
const Date & | endDate, | ||
const DayCounter & | dayCounter, | ||
Rate | convexityAdjustment = 0.0 , |
||
Futures::Type | type = Futures::IMM |
||
) |
Definition at line 150 of file ratehelpers.cpp.
FuturesRateHelper | ( | const Handle< Quote > & | price, |
const Date & | iborStartDate, | ||
const ext::shared_ptr< IborIndex > & | iborIndex, | ||
const Handle< Quote > & | convexityAdjustment = {} , |
||
Futures::Type | type = Futures::IMM |
||
) |
FuturesRateHelper | ( | Real | price, |
const Date & | iborStartDate, | ||
const ext::shared_ptr< IborIndex > & | iborIndex, | ||
Rate | convexityAdjustment = 0.0 , |
||
Futures::Type | type = Futures::IMM |
||
) |
Definition at line 177 of file ratehelpers.cpp.
|
overridevirtual |
Implements BootstrapHelper< TS >.
Definition at line 184 of file ratehelpers.cpp.
Real convexityAdjustment | ( | ) | const |
|
overridevirtual |
Reimplemented from BootstrapHelper< TS >.
Definition at line 199 of file ratehelpers.cpp.
|
private |
Definition at line 106 of file ratehelpers.hpp.
Definition at line 107 of file ratehelpers.hpp.