Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Namespaces | Functions
inflation.hpp File Reference

some inflation related utilities. More...

#include <ql/indexes/inflationindex.hpp>
#include <ql/instruments/bond.hpp>
#include <ql/termstructures/inflation/inflationhelpers.hpp>
#include <ql/termstructures/inflationtermstructure.hpp>
#include <ql/termstructures/volatility/inflation/cpivolatilitystructure.hpp>
#include <ql/time/period.hpp>

Go to the source code of this file.

Namespaces

namespace  QuantExt
 
namespace  QuantExt::ZeroInflation
 

Functions

QuantLib::Time inflationTime (const QuantLib::Date &date, const QuantLib::ext::shared_ptr< QuantLib::InflationTermStructure > &inflationTs, bool indexIsInterpolated, const QuantLib::DayCounter &dayCounter=QuantLib::DayCounter())
 
QuantLib::Real inflationGrowth (const QuantLib::Handle< QuantLib::ZeroInflationTermStructure > &ts, QuantLib::Time t, const QuantLib::DayCounter &dc, bool indexIsInterpolated)
 
QuantLib::Real inflationGrowth (const QuantLib::Handle< QuantLib::ZeroInflationTermStructure > &ts, QuantLib::Time t, bool indexIsInterpolated)
 
Real inflationLinkedBondQuoteFactor (const QuantLib::ext::shared_ptr< QuantLib::Bond > &bond)
 
std::map< std::tuple< std::string, QuantLib::CPI::InterpolationType, QuantLib::Frequency, QuantLib::Period >, QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > > extractAllInflationUnderlyingFromBond (const QuantLib::ext::shared_ptr< QuantLib::Bond > &bond)
 
QuantLib::Date lastAvailableFixing (const QuantLib::ZeroInflationIndex &index, const QuantLib::Date &asof)
 Check if today - availabilityLag is already known, otherwise return the fixingDate of the previous fixing. More...
 
QuantLib::Rate cpiFixing (const QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > &index, const QuantLib::Date &maturity, const QuantLib::Period &obsLag, bool interpolated)
 Computes a CPI fixing giving an zeroIndex, with interpolation if needed. More...
 
QuantLib::Date curveBaseDate (const bool baseDateLastKnownFixing, const QuantLib::Date &refDate, const QuantLib::Period obsLagCurve, const QuantLib::Frequency curveFreq, const QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > &index)
 derives the zero inflation curve base date based on the useLastKnownFixing rule More...
 
QuantLib::Date fixingDate (const QuantLib::Date &d, const QuantLib::Period obsLag, const QuantLib::Frequency freq, bool interpolated)
 
QuantLib::Rate guessCurveBaseRate (const bool baseDateLastKnownFixing, const QuantLib::Date &swapStart, const QuantLib::Date &asof, const QuantLib::Period &swapTenor, const QuantLib::DayCounter &swapZCLegDayCounter, const QuantLib::Period &swapObsLag, const QuantLib::Rate zeroCouponRate, const QuantLib::Period &curveObsLag, const QuantLib::DayCounter &curveDayCounter, const QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > &index, const bool interpolated, const QuantLib::ext::shared_ptr< QuantLib::Seasonality > &seasonality)
 
bool isCPIVolSurfaceLogNormal (const QuantLib::ext::shared_ptr< QuantLib::CPIVolatilitySurface > &surface)
 

Detailed Description

some inflation related utilities.

Definition in file inflation.hpp.