26#include <ql/math/interpolation.hpp>
27#include <ql/quote.hpp>
28#include <ql/termstructures/volatility/smilesection.hpp>
30#include <ql/shared_ptr.hpp>
42 SpreadedSmileSection2(
const QuantLib::ext::shared_ptr<SmileSection>& base,
const std::vector<Real>& volSpreads,
43 const std::vector<Real>&
strikes,
const bool strikesRelativeToAtm =
false,
44 const Real baseAtmLevel = Null<Real>(),
const Real simulatedAtmLevel = Null<Real>(),
45 const bool stickyAbsMoney =
false);
54 QuantLib::ext::shared_ptr<SmileSection>
base_;
Rate atmLevel() const override
Rate maxStrike() const override
Rate minStrike() const override
std::vector< Real > strikes_
Volatility volatilityImpl(Rate strike) const override
Interpolation volSpreadInterpolation_
std::vector< Real > volSpreads_
QuantLib::ext::shared_ptr< SmileSection > base_
bool strikesRelativeToAtm_