25#ifndef quantlib_zeroinflationswap_hpp
26#define quantlib_zeroinflationswap_hpp
37 class ZeroInflationIndex;
90 ext::shared_ptr<ZeroInflationIndex>
fixedIndex,
113 virtual const ext::shared_ptr<IborIndex>&
floatIndex()
const;
122 virtual const ext::shared_ptr<ZeroInflationIndex>&
fixedIndex()
const;
181 void reset()
override;
185 CPISwap::results> {};
Arguments for swap calculation
void validate() const override
Results from swap calculation
zero-inflation-indexed swap,
ext::shared_ptr< IborIndex > floatIndex_
virtual Rate fixedRate() const
BusinessDayConvention fixedPaymentRoll_
virtual const DayCounter & fixedDayCount() const
virtual Rate fairRate() const
virtual const BusinessDayConvention & floatPaymentRoll() const
BusinessDayConvention floatPaymentRoll_
virtual Natural fixingDays() const
virtual const Leg & floatLeg() const
ext::shared_ptr< ZeroInflationIndex > fixedIndex_
virtual const Schedule & fixedSchedule() const
DayCounter fixedDayCount_
virtual const Schedule & floatSchedule() const
virtual CPI::InterpolationType observationInterpolation() const
DayCounter floatDayCount_
virtual Spread fairSpread() const
virtual const ext::shared_ptr< IborIndex > & floatIndex() const
virtual Real floatLegNPV() const
virtual Real inflationNominal() const
virtual Type type() const
virtual Period observationLag() const
virtual const BusinessDayConvention & fixedPaymentRoll() const
virtual Real nominal() const
virtual const Leg & cpiLeg() const
void setupArguments(PricingEngine::arguments *args) const override
for simple case sufficient to copy base class
CPI::InterpolationType observationInterpolation_
virtual const ext::shared_ptr< ZeroInflationIndex > & fixedIndex() const
void setupExpired() const override
void fetchResults(const PricingEngine::results *) const override
virtual bool subtractInflationNominal() const
virtual const DayCounter & floatDayCount() const
bool subtractInflationNominal_
virtual Real baseCPI() const
virtual Real fixedLegNPV() const
virtual Spread spread() const
template base class for option pricing engines
template class providing a null value for a given type.
Coupon paying a zero-inflation index.
BusinessDayConvention
Business Day conventions.
unsigned QL_INTEGER Natural
positive integer
Real Spread
spreads on interest rates
base class for Inter-Bank-Offered-Rate indexes
std::vector< ext::shared_ptr< CashFlow > > Leg
Sequence of cash-flows.
InterpolationType
when you observe an index, how do you interpolate between fixings?
@ AsIndex
same interpolation as index