QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
helper class building a sequence of digital ibor-rate coupons More...
#include <digitalcmscoupon.hpp>
Private Attributes | |
Schedule | schedule_ |
ext::shared_ptr< SwapIndex > | index_ |
std::vector< Real > | notionals_ |
DayCounter | paymentDayCounter_ |
BusinessDayConvention | paymentAdjustment_ = Following |
std::vector< Natural > | fixingDays_ |
std::vector< Real > | gearings_ |
std::vector< Spread > | spreads_ |
bool | inArrears_ = false |
std::vector< Rate > | callStrikes_ |
std::vector< Rate > | callPayoffs_ |
Position::Type | longCallOption_ = Position::Long |
bool | callATM_ = false |
std::vector< Rate > | putStrikes_ |
std::vector< Rate > | putPayoffs_ |
Position::Type | longPutOption_ = Position::Long |
bool | putATM_ = false |
ext::shared_ptr< DigitalReplication > | replication_ |
bool | nakedOption_ |
helper class building a sequence of digital ibor-rate coupons
Definition at line 59 of file digitalcmscoupon.hpp.
DigitalCmsLeg | ( | Schedule | schedule, |
ext::shared_ptr< SwapIndex > | index | ||
) |
Definition at line 54 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withNotionals | ( | Real | notional | ) |
Definition at line 57 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 62 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 68 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 74 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 80 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withFixingDays | ( | const std::vector< Natural > & | fixingDays | ) |
Definition at line 85 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withGearings | ( | Real | gearing | ) |
Definition at line 91 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 96 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withSpreads | ( | Spread | spread | ) |
Definition at line 102 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 107 of file digitalcmscoupon.cpp.
DigitalCmsLeg & inArrears | ( | bool | flag = true | ) |
Definition at line 113 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withCallStrikes | ( | Rate | strike | ) |
Definition at line 118 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withCallStrikes | ( | const std::vector< Rate > & | strikes | ) |
Definition at line 123 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withLongCallOption | ( | Position::Type | type | ) |
Definition at line 129 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withCallATM | ( | bool | flag = true | ) |
Definition at line 134 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withCallPayoffs | ( | Rate | payoff | ) |
Definition at line 139 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withCallPayoffs | ( | const std::vector< Rate > & | payoffs | ) |
Definition at line 144 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPutStrikes | ( | Rate | strike | ) |
Definition at line 150 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPutStrikes | ( | const std::vector< Rate > & | strikes | ) |
Definition at line 155 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withLongPutOption | ( | Position::Type | type | ) |
Definition at line 161 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPutATM | ( | bool | flag = true | ) |
Definition at line 166 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPutPayoffs | ( | Rate | payoff | ) |
Definition at line 171 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withPutPayoffs | ( | const std::vector< Rate > & | payoffs | ) |
Definition at line 176 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withReplication | ( | const ext::shared_ptr< DigitalReplication > & | replication | ) |
Definition at line 182 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withReplication | ( | ) |
Definition at line 188 of file digitalcmscoupon.cpp.
DigitalCmsLeg & withNakedOption | ( | bool | nakedOption = true | ) |
Definition at line 193 of file digitalcmscoupon.cpp.
operator Leg | ( | ) | const |
Definition at line 198 of file digitalcmscoupon.cpp.
|
private |
Definition at line 95 of file digitalcmscoupon.hpp.
|
private |
Definition at line 96 of file digitalcmscoupon.hpp.
|
private |
Definition at line 97 of file digitalcmscoupon.hpp.
|
private |
Definition at line 98 of file digitalcmscoupon.hpp.
|
private |
Definition at line 99 of file digitalcmscoupon.hpp.
|
private |
Definition at line 100 of file digitalcmscoupon.hpp.
|
private |
Definition at line 101 of file digitalcmscoupon.hpp.
|
private |
Definition at line 102 of file digitalcmscoupon.hpp.
|
private |
Definition at line 103 of file digitalcmscoupon.hpp.
|
private |
Definition at line 104 of file digitalcmscoupon.hpp.
|
private |
Definition at line 104 of file digitalcmscoupon.hpp.
|
private |
Definition at line 105 of file digitalcmscoupon.hpp.
|
private |
Definition at line 106 of file digitalcmscoupon.hpp.
|
private |
Definition at line 107 of file digitalcmscoupon.hpp.
|
private |
Definition at line 107 of file digitalcmscoupon.hpp.
|
private |
Definition at line 108 of file digitalcmscoupon.hpp.
|
private |
Definition at line 109 of file digitalcmscoupon.hpp.
|
private |
Definition at line 110 of file digitalcmscoupon.hpp.
|
private |
Definition at line 111 of file digitalcmscoupon.hpp.