Vanilla Forward option on a single asset.
More...
#include <qle/instruments/vanillaforwardoption.hpp>
|
| 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) |
|
| VanillaForwardOption (const QuantLib::ext::shared_ptr< QuantLib::StrikedTypePayoff > &payoff, const QuantLib::ext::shared_ptr< QuantLib::Exercise > &exercise, const QuantLib::Date &forwardDate) |
|
void | setupArguments (QuantLib::PricingEngine::arguments *) const override |
|
Vanilla Forward option on a single asset.
Definition at line 35 of file vanillaforwardoption.hpp.
◆ VanillaForwardOption() [1/2]
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 |
|
) |
| |
◆ VanillaForwardOption() [2/2]
VanillaForwardOption |
( |
const QuantLib::ext::shared_ptr< QuantLib::StrikedTypePayoff > & |
payoff, |
|
|
const QuantLib::ext::shared_ptr< QuantLib::Exercise > & |
exercise, |
|
|
const QuantLib::Date & |
forwardDate |
|
) |
| |
◆ setupArguments()
Definition at line 63 of file vanillaforwardoption.hpp.
63 {
64 VanillaOption::setupArguments(args);
65
66 VanillaForwardOption::arguments* arguments =
67 dynamic_cast<VanillaForwardOption::arguments*>(args);
68 QL_REQUIRE(arguments != 0, "wrong argument type");
69
72 }
◆ forwardDate_
QuantLib::Date forwardDate_ |
|
private |
◆ paymentDate_
QuantLib::Date paymentDate_ |
|
private |