21#include <ql/cashflows/fixedratecoupon.hpp>
22#include <ql/cashflows/simplecashflow.hpp>
24#include <boost/make_shared.hpp>
31 : currency_(currency) {
32 cashflow_ = QuantLib::ext::make_shared<SimpleCashFlow>(amount, date);
41 QL_REQUIRE(
arguments,
"wrong argument type in deposit");
47 Instrument::fetchResults(r);
49 QL_REQUIRE(
results,
"wrong result type");
QuantLib::ext::shared_ptr< SimpleCashFlow > cashflow
void validate() const override
void setupArguments(PricingEngine::arguments *) const override
bool isExpired() const override
Payment(const Real amount, const Currency ¤cy, const Date &date)
void setupExpired() const override
void fetchResults(const PricingEngine::results *) const override
QuantLib::ext::shared_ptr< SimpleCashFlow > cashflow_