#include <qle/instruments/ascot.hpp>
Definition at line 72 of file ascot.hpp.
◆ arguments()
◆ setupArguments()
void setupArguments |
( |
PricingEngine::arguments * |
| ) |
const |
◆ validate()
Definition at line 63 of file ascot.cpp.
63 {
64 QL_REQUIRE(
exercise,
"exercise not set");
65 QL_REQUIRE(
bond,
"convertible bond is not set");
66 QL_REQUIRE(!
fundingLeg.empty(),
"no funding leg provided");
68 QL_REQUIRE(
fundingLeg[i],
"null cash flow provided");
69}
ext::shared_ptr< ConvertibleBond2 > bond
ext::shared_ptr< Exercise > exercise
◆ callPut
◆ exercise
ext::shared_ptr<Exercise> exercise |
◆ bondQuantity
◆ bond
◆ fundingLeg