25#ifndef quantlib_optionletstripper2_hpp
26#define quantlib_optionletstripper2_hpp
32 class CapFloorTermVolCurve;
33 class OptionletStripper1;
46 const ext::shared_ptr<OptionletStripper1>& optionletStripper1,
64 ext::shared_ptr<CapFloor>,
69 ext::shared_ptr<CapFloor>
cap_;
80 mutable std::vector<ext::shared_ptr<CapFloor> >
caps_;
Shared handle to an observable.
ext::shared_ptr< CapFloor > cap_
Real operator()(Volatility spreadVol) const
ext::shared_ptr< SimpleQuote > spreadQuote_
void performCalculations() const override
std::vector< Volatility > spreadsVolImplied_
const ext::shared_ptr< OptionletStripper1 > stripper1_
std::vector< Rate > atmCapFloorStrikes_
std::vector< Real > atmCapFloorPrices_
std::vector< ext::shared_ptr< CapFloor > > caps_
std::vector< Volatility > spreadsVolImplied() const
std::vector< Rate > atmCapFloorStrikes() const
std::vector< Volatility > spreadsVol() const
const Handle< CapFloorTermVolCurve > atmCapFloorTermVolCurve_
std::vector< Real > atmCapFloorPrices() const
Real Volatility
volatility
std::size_t Size
size of a container
optionlet (caplet/floorlet) volatility stripper