Rebated exercise with exercise dates != notification dates and arbitrary period. More...
#include <qle/instruments/rebatedexercise.hpp>
Inheritance diagram for RebatedExercise:
Collaboration diagram for RebatedExercise:Public Member Functions | |
| RebatedExercise (const Exercise &exercise, const Real rebate=0.0, const Natural rebateSettlementDays=0, const Calendar &rebatePaymentCalendar=NullCalendar(), const BusinessDayConvention rebatePaymentConvention=Following) | |
| as ql ctor More... | |
| RebatedExercise (const Exercise &exercise, const Real rebate, const Period &rebateSettlementPeriod, const Calendar &rebatePaymentCalendar, const BusinessDayConvention rebatePaymentConvention) | |
| same, but takes settl period instead of days More... | |
| RebatedExercise (const Exercise &exercise, const std::vector< Real > &rebates, const Natural rebateSettlementDays=0, const Calendar &rebatePaymentCalendar=NullCalendar(), const BusinessDayConvention rebatePaymentConvention=Following) | |
| as ql ctor More... | |
| RebatedExercise (const Exercise &exercise, const std::vector< Real > &rebates, const Period &rebateSettlementPeriod, const Calendar &rebatePaymentCalendar, const BusinessDayConvention rebatePaymentConvention) | |
| same, but takes settl period instead of days More... | |
| RebatedExercise (const Exercise &exercise, const std::vector< Date > &exerciseDates, const std::vector< Real > &rebates, const Period &rebateSettlementPeriod, const Calendar &rebatePaymentCalendar=NullCalendar(), const BusinessDayConvention rebatePaymentConvention=Following) | |
| ctor that takes exercise dates != notification dates and a rebate settlement period More... | |
| Real | rebate (Size index) const |
| Date | rebatePaymentDate (Size index) const |
| Date | rebatePaymentDate (const Date &exerciseDate) const |
| const std::vector< Real > & | rebates () const |
Private Attributes | |
| std::vector< Date > | exerciseDates_ |
| std::vector< Real > | rebates_ |
| Period | rebateSettlementPeriod_ |
| Calendar | rebatePaymentCalendar_ |
| BusinessDayConvention | rebatePaymentConvention_ |
Rebated exercise with exercise dates != notification dates and arbitrary period.
Definition at line 36 of file rebatedexercise.hpp.
| RebatedExercise | ( | const Exercise & | exercise, |
| const Real | rebate = 0.0, |
||
| const Natural | rebateSettlementDays = 0, |
||
| const Calendar & | rebatePaymentCalendar = NullCalendar(), |
||
| const BusinessDayConvention | rebatePaymentConvention = Following |
||
| ) |
as ql ctor
Definition at line 23 of file rebatedexercise.cpp.
| RebatedExercise | ( | const Exercise & | exercise, |
| const Real | rebate, | ||
| const Period & | rebateSettlementPeriod, | ||
| const Calendar & | rebatePaymentCalendar, | ||
| const BusinessDayConvention | rebatePaymentConvention | ||
| ) |
same, but takes settl period instead of days
Definition at line 29 of file rebatedexercise.cpp.
| RebatedExercise | ( | const Exercise & | exercise, |
| const std::vector< Real > & | rebates, | ||
| const Natural | rebateSettlementDays = 0, |
||
| const Calendar & | rebatePaymentCalendar = NullCalendar(), |
||
| const BusinessDayConvention | rebatePaymentConvention = Following |
||
| ) |
as ql ctor
Definition at line 35 of file rebatedexercise.cpp.
| RebatedExercise | ( | const Exercise & | exercise, |
| const std::vector< Real > & | rebates, | ||
| const Period & | rebateSettlementPeriod, | ||
| const Calendar & | rebatePaymentCalendar, | ||
| const BusinessDayConvention | rebatePaymentConvention | ||
| ) |
same, but takes settl period instead of days
Definition at line 41 of file rebatedexercise.cpp.
| RebatedExercise | ( | const Exercise & | exercise, |
| const std::vector< Date > & | exerciseDates, | ||
| const std::vector< Real > & | rebates, | ||
| const Period & | rebateSettlementPeriod, | ||
| const Calendar & | rebatePaymentCalendar = NullCalendar(), |
||
| const BusinessDayConvention | rebatePaymentConvention = Following |
||
| ) |
ctor that takes exercise dates != notification dates and a rebate settlement period
Definition at line 47 of file rebatedexercise.cpp.
| Real rebate | ( | Size | index | ) | const |
Definition at line 69 of file rebatedexercise.hpp.
| Date rebatePaymentDate | ( | Size | index | ) | const |
Definition at line 75 of file rebatedexercise.hpp.
| Date rebatePaymentDate | ( | const Date & | exerciseDate | ) | const |
Definition at line 81 of file rebatedexercise.hpp.
| const std::vector< Real > & rebates | ( | ) | const |
Definition at line 59 of file rebatedexercise.hpp.
|
private |
Definition at line 62 of file rebatedexercise.hpp.
|
private |
Definition at line 63 of file rebatedexercise.hpp.
|
private |
Definition at line 64 of file rebatedexercise.hpp.
|
private |
Definition at line 65 of file rebatedexercise.hpp.
|
private |
Definition at line 66 of file rebatedexercise.hpp.