25#ifndef quantext_vanilla_forward_option_hpp
26#define quantext_vanilla_forward_option_hpp
28#include <ql/instruments/vanillaoption.hpp>
29#include <ql/instruments/payoffs.hpp>
40 const QuantLib::ext::shared_ptr<QuantLib::Exercise>& exercise,
const QuantLib::Date& forwardDate,
41 const QuantLib::Date& paymentDate)
45 const QuantLib::ext::shared_ptr<QuantLib::Exercise>& exercise,
const QuantLib::Date& forwardDate)
46 : VanillaOption(payoff, exercise),
forwardDate_(forwardDate) {}
64 VanillaOption::setupArguments(args);
68 QL_REQUIRE(
arguments != 0,
"wrong argument type");
Arguments for Vanilla Forward Option calculation
QuantLib::Date forwardDate
QuantLib::Date paymentDate
base class for swaption engines
Vanilla Forward option on a single asset.
VanillaForwardOption(const QuantLib::ext::shared_ptr< QuantLib::StrikedTypePayoff > &payoff, const QuantLib::ext::shared_ptr< QuantLib::Exercise > &exercise, const QuantLib::Date &forwardDate)
QuantLib::Date paymentDate_
QuantLib::Date forwardDate_
VanillaForwardOption(const QuantLib::ext::shared_ptr< QuantLib::StrikedTypePayoff > &payoff, const QuantLib::ext::shared_ptr< QuantLib::Exercise > &exercise, const QuantLib::Date &forwardDate, const QuantLib::Date &paymentDate)
void setupArguments(QuantLib::PricingEngine::arguments *) const override