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 <digitaliborcoupon.hpp>
Private Attributes | |
Schedule | schedule_ |
ext::shared_ptr< IborIndex > | 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 digitaliborcoupon.hpp.
DigitalIborLeg | ( | Schedule | schedule, |
ext::shared_ptr< IborIndex > | index | ||
) |
Definition at line 54 of file digitaliborcoupon.cpp.
DigitalIborLeg & withNotionals | ( | Real | notional | ) |
Definition at line 57 of file digitaliborcoupon.cpp.
DigitalIborLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 62 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
Definition at line 68 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
Definition at line 74 of file digitaliborcoupon.cpp.
DigitalIborLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 80 of file digitaliborcoupon.cpp.
DigitalIborLeg & withFixingDays | ( | const std::vector< Natural > & | fixingDays | ) |
Definition at line 85 of file digitaliborcoupon.cpp.
DigitalIborLeg & withGearings | ( | Real | gearing | ) |
Definition at line 91 of file digitaliborcoupon.cpp.
DigitalIborLeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 96 of file digitaliborcoupon.cpp.
DigitalIborLeg & withSpreads | ( | Spread | spread | ) |
Definition at line 102 of file digitaliborcoupon.cpp.
DigitalIborLeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 107 of file digitaliborcoupon.cpp.
DigitalIborLeg & inArrears | ( | bool | flag = true | ) |
Definition at line 113 of file digitaliborcoupon.cpp.
DigitalIborLeg & withCallStrikes | ( | Rate | strike | ) |
Definition at line 118 of file digitaliborcoupon.cpp.
DigitalIborLeg & withCallStrikes | ( | const std::vector< Rate > & | strikes | ) |
Definition at line 123 of file digitaliborcoupon.cpp.
DigitalIborLeg & withLongCallOption | ( | Position::Type | type | ) |
Definition at line 129 of file digitaliborcoupon.cpp.
DigitalIborLeg & withCallATM | ( | bool | flag = true | ) |
Definition at line 134 of file digitaliborcoupon.cpp.
DigitalIborLeg & withCallPayoffs | ( | Rate | payoff | ) |
Definition at line 139 of file digitaliborcoupon.cpp.
DigitalIborLeg & withCallPayoffs | ( | const std::vector< Rate > & | payoffs | ) |
Definition at line 144 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPutStrikes | ( | Rate | strike | ) |
Definition at line 150 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPutStrikes | ( | const std::vector< Rate > & | strikes | ) |
Definition at line 155 of file digitaliborcoupon.cpp.
DigitalIborLeg & withLongPutOption | ( | Position::Type | type | ) |
Definition at line 161 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPutATM | ( | bool | flag = true | ) |
Definition at line 166 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPutPayoffs | ( | Rate | payoff | ) |
Definition at line 171 of file digitaliborcoupon.cpp.
DigitalIborLeg & withPutPayoffs | ( | const std::vector< Rate > & | payoffs | ) |
Definition at line 176 of file digitaliborcoupon.cpp.
DigitalIborLeg & withReplication | ( | const ext::shared_ptr< DigitalReplication > & | replication | ) |
Definition at line 182 of file digitaliborcoupon.cpp.
DigitalIborLeg & withReplication | ( | ) |
Definition at line 188 of file digitaliborcoupon.cpp.
DigitalIborLeg & withNakedOption | ( | bool | nakedOption = true | ) |
Definition at line 193 of file digitaliborcoupon.cpp.
operator Leg | ( | ) | const |
Definition at line 198 of file digitaliborcoupon.cpp.
|
private |
Definition at line 95 of file digitaliborcoupon.hpp.
|
private |
Definition at line 96 of file digitaliborcoupon.hpp.
|
private |
Definition at line 97 of file digitaliborcoupon.hpp.
|
private |
Definition at line 98 of file digitaliborcoupon.hpp.
|
private |
Definition at line 99 of file digitaliborcoupon.hpp.
|
private |
Definition at line 100 of file digitaliborcoupon.hpp.
|
private |
Definition at line 101 of file digitaliborcoupon.hpp.
|
private |
Definition at line 102 of file digitaliborcoupon.hpp.
|
private |
Definition at line 103 of file digitaliborcoupon.hpp.
|
private |
Definition at line 104 of file digitaliborcoupon.hpp.
|
private |
Definition at line 104 of file digitaliborcoupon.hpp.
|
private |
Definition at line 105 of file digitaliborcoupon.hpp.
|
private |
Definition at line 106 of file digitaliborcoupon.hpp.
|
private |
Definition at line 107 of file digitaliborcoupon.hpp.
|
private |
Definition at line 107 of file digitaliborcoupon.hpp.
|
private |
Definition at line 108 of file digitaliborcoupon.hpp.
|
private |
Definition at line 109 of file digitaliborcoupon.hpp.
|
private |
Definition at line 110 of file digitaliborcoupon.hpp.
|
private |
Definition at line 111 of file digitaliborcoupon.hpp.