24#ifndef quantlib_spread_black_scholes_vanilla_engine_hpp
25#define quantlib_spread_black_scholes_vanilla_engine_hpp
35 ext::shared_ptr<GeneralizedBlackScholesProcess> process1,
36 ext::shared_ptr<GeneralizedBlackScholesProcess> process2,
46 const ext::shared_ptr<GeneralizedBlackScholesProcess>
process1_;
47 const ext::shared_ptr<GeneralizedBlackScholesProcess>
process2_;
Basket option on a number of assets.
Basket-option engine base class
const ext::shared_ptr< GeneralizedBlackScholesProcess > process1_
void calculate() const override
virtual Real calculate(Real f1, Real f2, Real strike, Option::Type optionType, Real variance1, Real variance2, DiscountFactor df) const =0
const ext::shared_ptr< GeneralizedBlackScholesProcess > process2_
Real DiscountFactor
discount factor between dates