24#ifndef quantlib_rebatedexercise_hpp
25#define quantlib_rebatedexercise_hpp
45 Natural rebateSettlementDays = 0,
49 const std::vector<Real>&
rebates,
50 Natural rebateSettlementDays = 0,
66 "rebate with index " << index <<
" does not exist (0..."
73 "for american style exercises the rebate payment date "
74 <<
"has to be calculted in the client code");
Date advance(const Date &, Integer n, TimeUnit unit, BusinessDayConvention convention=Following, bool endOfMonth=false) const
std::vector< Date > dates_
Calendar for reproducing theoretical calculations.
const std::vector< Real > & rebates() const
const BusinessDayConvention rebatePaymentConvention_
const Natural rebateSettlementDays_
const Calendar rebatePaymentCalendar_
Real rebate(Size index) const
const std::vector< Real > rebates_
Date rebatePaymentDate(Size index) const
Classes and functions for error handling.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
Option exercise classes and payoff function.
BusinessDayConvention
Business Day conventions.
unsigned QL_INTEGER Natural
positive integer
std::size_t Size
size of a container
Calendar for reproducing theoretical calculations.