28 ext::shared_ptr<GeneralizedBlackScholesProcess> process2,
37 const Real f = f1/(f2 + strike);
40 + variance2*
squared(f2/(f2+strike))
41 - 2*
rho_*std::sqrt(variance1*variance2)
45 ext::make_shared<PlainVanillaPayoff>(
49 return (f2 + strike)*black.
value();
Black-formula calculator class.
Black 1976 calculator class.
KirkEngine(ext::shared_ptr< GeneralizedBlackScholesProcess > process1, ext::shared_ptr< GeneralizedBlackScholesProcess > process2, Real correlation)
virtual void calculate() const =0
Real DiscountFactor
discount factor between dates
kirk formulae, due to Kirk (1995)
functionals and combinators not included in the STL
ext::shared_ptr< BlackVolTermStructure > v