24#ifndef quantext_deposit_hpp
25#define quantext_deposit_hpp
27#include <ql/cashflow.hpp>
28#include <ql/indexes/iborindex.hpp>
29#include <ql/instrument.hpp>
30#include <ql/quote.hpp>
31#include <ql/time/calendar.hpp>
32#include <ql/time/daycounter.hpp>
49 Deposit(
const Real nominal,
const Rate rate,
const Period& tenor,
const Natural fixingDays,
50 const Calendar& calendar,
const BusinessDayConvention convention,
const bool endOfMonth,
51 const DayCounter& dayCounter,
const Date& tradeDate,
const bool isLong =
true,
52 const Period forwardStart = 0 * Days);
58 void fetchResults(
const PricingEngine::results*)
const override;
67 QL_REQUIRE(
fairRate_ != Null<Real>(),
"Deposit::fairRate(): not provided");
79 QuantLib::ext::shared_ptr<IborIndex>
index_;
88 QuantLib::ext::shared_ptr<IborIndex>
index;
98 void reset()
override;
QuantLib::ext::shared_ptr< IborIndex > index
void validate() const override
void setupArguments(PricingEngine::arguments *) const override
bool isExpired() const override
QuantLib::ext::shared_ptr< IborIndex > index_
Date maturityDate() const
void setupExpired() const override
void fetchResults(const PricingEngine::results *) const override