25#ifndef quantlib_analytic_digital_american_engine_hpp
26#define quantlib_analytic_digital_american_engine_hpp
63 ext::shared_ptr<GeneralizedBlackScholesProcess>
process_;
92 const ext::shared_ptr<GeneralizedBlackScholesProcess>
95 bool knock_in()
const override {
return false; }
Analytic pricing engine for American vanilla options with digital payoff.
void calculate() const override
ext::shared_ptr< GeneralizedBlackScholesProcess > process_
virtual bool knock_in() const
Analytic pricing engine for American Knock-out options with digital payoff.
AnalyticDigitalAmericanKOEngine(const ext::shared_ptr< GeneralizedBlackScholesProcess > &engine)
bool knock_in() const override
Vanilla option on a single asset.