QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Zero-coupon inflation-swap bootstrap helper. More...
#include <inflationhelpers.hpp>
Public Member Functions | |
ZeroCouponInflationSwapHelper (const Handle< Quote > "e, const Period &swapObsLag, const Date &maturity, Calendar calendar, BusinessDayConvention paymentConvention, DayCounter dayCounter, ext::shared_ptr< ZeroInflationIndex > zii, CPI::InterpolationType observationInterpolation, Handle< YieldTermStructure > nominalTermStructure) | |
void | setTermStructure (ZeroInflationTermStructure *) override |
Real | impliedQuote () const override |
Public Member Functions inherited from BootstrapHelper< ZeroInflationTermStructure > | |
BootstrapHelper (Handle< Quote > quote) | |
BootstrapHelper (Real quote) | |
~BootstrapHelper () override=default | |
const Handle< Quote > & | quote () const |
Real | quoteError () const |
virtual void | setTermStructure (ZeroInflationTermStructure *) |
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 |
virtual void | accept (AcyclicVisitor &) |
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 () |
Protected Attributes | |
Period | swapObsLag_ |
Date | maturity_ |
Calendar | calendar_ |
BusinessDayConvention | paymentConvention_ |
DayCounter | dayCounter_ |
ext::shared_ptr< ZeroInflationIndex > | zii_ |
CPI::InterpolationType | observationInterpolation_ |
ext::shared_ptr< ZeroCouponInflationSwap > | zciis_ |
Handle< YieldTermStructure > | nominalTermStructure_ |
Protected Attributes inherited from BootstrapHelper< ZeroInflationTermStructure > | |
Handle< Quote > | quote_ |
ZeroInflationTermStructure * | termStructure_ |
Date | earliestDate_ |
Date | latestDate_ |
Date | maturityDate_ |
Date | latestRelevantDate_ |
Date | pillarDate_ |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Zero-coupon inflation-swap bootstrap helper.
Definition at line 36 of file inflationhelpers.hpp.
ZeroCouponInflationSwapHelper | ( | const Handle< Quote > & | quote, |
const Period & | swapObsLag, | ||
const Date & | maturity, | ||
Calendar | calendar, | ||
BusinessDayConvention | paymentConvention, | ||
DayCounter | dayCounter, | ||
ext::shared_ptr< ZeroInflationIndex > | zii, | ||
CPI::InterpolationType | observationInterpolation, | ||
Handle< YieldTermStructure > | nominalTermStructure | ||
) |
|
override |
|
overridevirtual |
Implements BootstrapHelper< ZeroInflationTermStructure >.
Definition at line 76 of file inflationhelpers.cpp.
|
protected |
Definition at line 53 of file inflationhelpers.hpp.
|
protected |
Definition at line 54 of file inflationhelpers.hpp.
|
protected |
Definition at line 55 of file inflationhelpers.hpp.
|
protected |
Definition at line 56 of file inflationhelpers.hpp.
|
protected |
Definition at line 57 of file inflationhelpers.hpp.
|
protected |
Definition at line 58 of file inflationhelpers.hpp.
|
protected |
Definition at line 59 of file inflationhelpers.hpp.
|
protected |
Definition at line 60 of file inflationhelpers.hpp.
|
protected |
Definition at line 61 of file inflationhelpers.hpp.