25#ifndef quantlib_blackcalculator_hpp
26#define quantlib_blackcalculator_hpp
111 void initialize(
const ext::shared_ptr<StrikedTypePayoff>& p);
121 Time maturity)
const {
122 return theta(spot, maturity)/365.0;
Black 1976 calculator class.
Real dividendRho(Time maturity) const
virtual Real delta(Real spot) const
Real vega(Time maturity) const
void initialize(const ext::shared_ptr< StrikedTypePayoff > &p)
Real itmCashProbability() const
Real strikeSensitivity() const
virtual Real gamma(Real spot) const
Real gammaForward() const
Real elasticityForward() const
virtual ~BlackCalculator()=default
Real itmAssetProbability() const
virtual Real elasticity(Real spot) const
virtual Real thetaPerDay(Real spot, Time maturity) const
Real deltaForward() const
Real Time
continuous quantity with 1-year units
ext::shared_ptr< QuantLib::Payoff > payoff
Payoffs for various options.