QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Rate helper for bootstrapping over Overnight Indexed Swap rates. More...
#include <arithmeticoisratehelper.hpp>
Public Member Functions | |
ArithmeticOISRateHelper (Natural settlementDays, const Period &tenor, Frequency fixedLegPaymentFrequency, const Handle< Quote > &fixedRate, ext::shared_ptr< OvernightIndex > overnightIndex, Frequency overnightLegPaymentFrequency, Handle< Quote > spread, Real meanReversionSpeed=0.03, Real volatility=0.00, bool byApprox=false, Handle< YieldTermStructure > discountingCurve=Handle< YieldTermStructure >()) | |
RateHelper interface | |
Real | impliedQuote () const override |
void | setTermStructure (YieldTermStructure *) override |
inspectors | |
ext::shared_ptr< ArithmeticAverageOIS > | swap () const |
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 | |
Natural | settlementDays_ |
Period | tenor_ |
ext::shared_ptr< OvernightIndex > | overnightIndex_ |
ext::shared_ptr< ArithmeticAverageOIS > | swap_ |
RelinkableHandle< YieldTermStructure > | termStructureHandle_ |
Handle< YieldTermStructure > | discountHandle_ |
RelinkableHandle< YieldTermStructure > | discountRelinkableHandle_ |
Frequency | fixedLegPaymentFrequency_ |
Frequency | overnightLegPaymentFrequency_ |
Handle< Quote > | spread_ |
Real | mrs_ |
Real | vol_ |
bool | byApprox_ |
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 Overnight Indexed Swap rates.
Definition at line 33 of file arithmeticoisratehelper.hpp.
ArithmeticOISRateHelper | ( | Natural | settlementDays, |
const Period & | tenor, | ||
Frequency | fixedLegPaymentFrequency, | ||
const Handle< Quote > & | fixedRate, | ||
ext::shared_ptr< OvernightIndex > | overnightIndex, | ||
Frequency | overnightLegPaymentFrequency, | ||
Handle< Quote > | spread, | ||
Real | meanReversionSpeed = 0.03 , |
||
Real | volatility = 0.00 , |
||
bool | byApprox = false , |
||
Handle< YieldTermStructure > | discountingCurve = Handle<YieldTermStructure>() |
||
) |
Definition at line 28 of file arithmeticoisratehelper.cpp.
|
overridevirtual |
Implements BootstrapHelper< TS >.
Definition at line 86 of file arithmeticoisratehelper.cpp.
|
override |
Definition at line 70 of file arithmeticoisratehelper.cpp.
ext::shared_ptr< ArithmeticAverageOIS > swap | ( | ) | const |
Definition at line 56 of file arithmeticoisratehelper.hpp.
|
overridevirtual |
Reimplemented from BootstrapHelper< TS >.
Definition at line 101 of file arithmeticoisratehelper.cpp.
|
overrideprotectedvirtual |
Implements RelativeDateBootstrapHelper< TS >.
Definition at line 50 of file arithmeticoisratehelper.cpp.
|
protected |
Definition at line 65 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 66 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 67 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 69 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 70 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 72 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 73 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 75 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 76 of file arithmeticoisratehelper.hpp.
Definition at line 77 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 79 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 80 of file arithmeticoisratehelper.hpp.
|
protected |
Definition at line 81 of file arithmeticoisratehelper.hpp.