26#ifndef quantlib_bond_helpers_hpp
27#define quantlib_bond_helpers_hpp
49 const ext::shared_ptr<Bond>&
bond,
59 ext::shared_ptr<Bond>
bond()
const;
87 const std::vector<Rate>& coupons,
90 Real redemption = 100.0,
96 bool exCouponEndOfMonth =
false,
102 [[deprecated(
"Do not use; this method is broken and will be removed.")]]
117 [[deprecated(
"Do not use; this pointer is always null.")]]
136 const Period& observationLag,
137 const ext::shared_ptr<ZeroInflationIndex>& cpiIndex,
140 const std::vector<Rate>& fixedRate,
148 bool exCouponEndOfMonth =
false,
154 [[deprecated(
"Do not use; this method is broken and will be removed.")]]
169 [[deprecated(
"Do not use; this pointer is always null.")]]
degenerate base class for the Acyclic Visitor pattern
Bond helper for curve bootstrap.
Bond::Price::Type priceType_
void setTermStructure(YieldTermStructure *) override
RelinkableHandle< YieldTermStructure > termStructureHandle_
Bond::Price::Type priceType() const
ext::shared_ptr< Bond > bond() const
void accept(AcyclicVisitor &) override
Real impliedQuote() const override
ext::shared_ptr< Bond > bond_
Base helper class for bootstrapping.
CPI bond helper for curve bootstrap.
void accept(AcyclicVisitor &) override
ext::shared_ptr< CPIBond > cpiBond_
QL_DEPRECATED_DISABLE_WARNING ~CPIBondHelper() override=default
ext::shared_ptr< CPIBond > cpiBond() const
Fixed-coupon bond helper for curve bootstrap.
void accept(AcyclicVisitor &) override
ext::shared_ptr< FixedRateBond > fixedRateBond() const
QL_DEPRECATED_DISABLE_WARNING ~FixedRateBondHelper() override=default
ext::shared_ptr< FixedRateBond > fixedRateBond_
Shared handle to an observable.
Relinkable handle to an observable.
Interest-rate term structure.
zero-inflation-indexed-ratio-with-base bond
Coupon paying a zero-inflation index.
BusinessDayConvention
Business Day conventions.
unsigned QL_INTEGER Natural
positive integer
#define QL_DEPRECATED_DISABLE_WARNING
#define QL_DEPRECATED_ENABLE_WARNING
deposit, FRA, futures, and various swap rate helpers
InterpolationType
when you observe an index, how do you interpolate between fixings?