28#include <ql/instrument.hpp>
29#include <ql/instruments/capfloor.hpp>
30#include <ql/instruments/inflationcapfloor.hpp>
35Real
impliedQuote(
const QuantLib::ext::shared_ptr<QuantLib::Instrument>& i);
41 const QuantLib::Handle<QuantLib::YieldTermStructure>& d,
double guess,
42 QuantLib::VolatilityType type,
double displacement);
45 const QuantLib::Handle<QuantLib::YieldTermStructure>& d,
double guess,
46 QuantLib::VolatilityType type,
double displacement,
47 const QuantLib::Handle<QuantLib::YoYInflationIndex>& index = {});
49double impliedVolatility(
const RiskFactorKey& key,
const ParSensitivityInstrumentBuilder::Instruments& instruments);
Data types stored in the scenario class.
Volatility impliedVolatility(const QuantLib::CapFloor &cap, Real targetValue, const Handle< YieldTermStructure > &d, Volatility guess, VolatilityType type, Real displacement)
bool riskFactorKeysAreSimilar(const ore::analytics::RiskFactorKey &x, const ore::analytics::RiskFactorKey &y)
true if key type and name are equal, do not care about the index though
Real impliedQuote(const QuantLib::ext::shared_ptr< Instrument > &i)