26#include <ql/instruments/vanillaoption.hpp>
27#include <ql/pricingengines/vanilla/analyticeuropeanengine.hpp>
28#include <ql/processes/blackscholesprocess.hpp>
38 explicit AnalyticEuropeanEngine(ext::shared_ptr<GeneralizedBlackScholesProcess> gbsp,
const bool flipResults =
false)
42 Handle<YieldTermStructure> discountCurve,
const bool flipResults =
false)
47 ext::shared_ptr<GeneralizedBlackScholesProcess>
process_;
Pricing engine for European vanilla options using analytical formulae.
Handle< YieldTermStructure > discountCurve_
AnalyticEuropeanEngine(ext::shared_ptr< GeneralizedBlackScholesProcess > process, Handle< YieldTermStructure > discountCurve, const bool flipResults=false)
void calculate() const override
ext::shared_ptr< GeneralizedBlackScholesProcess > process_
AnalyticEuropeanEngine(ext::shared_ptr< GeneralizedBlackScholesProcess > gbsp, const bool flipResults=false)