35 : impliedStdev_(guess),
strike_(100.0 - strike), accuracy_(accuracy), maxIter_(maxIter),
36 forward_(
std::move(forward)), callPrice_(
std::move(callPrice)),
37 putPrice_(
std::move(putPrice)) {
59 static const Real discount = 1.0;
60 static const Real displacement = 0.0;
66 discount, displacement,
72 discount, displacement,
void performCalculations() const override
Handle< Quote > putPrice_
Handle< Quote > callPrice_
EurodollarFuturesImpliedStdDevQuote(Handle< Quote > forward, Handle< Quote > callPrice, Handle< Quote > putPrice, Real strike, Real guess=.15, Real accuracy=1.0e-6, Natural maxIter=100)
Real value() const override
returns the current value
bool isValid() const override
returns true if the Quote holds a valid value
Shared handle to an observable.
virtual void calculate() const
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)
quote for the Eurodollar-future implied standard deviation
unsigned QL_INTEGER Natural
positive integer
Real blackFormulaImpliedStdDev(Option::Type optionType, Real strike, Real forward, Real blackPrice, Real discount, Real displacement, Real guess, Real accuracy, Natural maxIterations)