24#ifndef quantlib_cap_calibration_helper_hpp
25#define quantlib_cap_calibration_helper_hpp
39 ext::shared_ptr<IborIndex> index,
43 bool includeFirstSwaplet,
49 void addTimesTo(std::list<Time>& times)
const override;
55 mutable ext::shared_ptr<Cap>
cap_;
57 const ext::shared_ptr<IborIndex>
index_;
Calibration helper class.
liquid Black76 market instrument used during calibration
Handle< Quote > volatility() const
returns the volatility Handle
calibration helper for ATM cap
void performCalculations() const override
const ext::shared_ptr< IborIndex > index_
Real blackPrice(Volatility volatility) const override
Black or Bachelier price given a volatility.
Real modelValue() const override
returns the price of the instrument according to the model
void addTimesTo(std::list< Time > ×) const override
const Frequency fixedLegFrequency_
ext::shared_ptr< Cap > cap_
const Handle< YieldTermStructure > termStructure_
const DayCounter fixedLegDayCounter_
const bool includeFirstSwaplet_
Shared handle to an observable.
Frequency
Frequency of events.
Real Volatility
volatility