helper class building a sequence of bond trs cashflows More...
#include <qle/cashflows/bondtrscashflow.hpp>
Public Member Functions | |
BondTRSLeg (const std::vector< Date > &valuationDates, const std::vector< Date > &paymentDates, const Real bondNotional, const QuantLib::ext::shared_ptr< BondIndex > &bondIndex, const QuantLib::ext::shared_ptr< FxIndex > &fxIndex=nullptr) | |
BondTRSLeg & | withInitialPrice (Real) |
operator Leg () const | |
Private Attributes | |
std::vector< Date > | valuationDates_ |
std::vector< Date > | paymentDates_ |
Real | bondNotional_ |
QuantLib::ext::shared_ptr< BondIndex > | bondIndex_ |
QuantLib::ext::shared_ptr< FxIndex > | fxIndex_ |
Real | initialPrice_ = QuantLib::Null<QuantLib::Real>() |
helper class building a sequence of bond trs cashflows
Definition at line 54 of file bondtrscashflow.hpp.
BondTRSLeg | ( | const std::vector< Date > & | valuationDates, |
const std::vector< Date > & | paymentDates, | ||
const Real | bondNotional, | ||
const QuantLib::ext::shared_ptr< BondIndex > & | bondIndex, | ||
const QuantLib::ext::shared_ptr< FxIndex > & | fxIndex = nullptr |
||
) |
Definition at line 39 of file bondtrscashflow.cpp.
BondTRSLeg & withInitialPrice | ( | Real | initialPrice | ) |
Definition at line 45 of file bondtrscashflow.cpp.
operator Leg | ( | ) | const |
Definition at line 50 of file bondtrscashflow.cpp.
|
private |
Definition at line 62 of file bondtrscashflow.hpp.
|
private |
Definition at line 63 of file bondtrscashflow.hpp.
|
private |
Definition at line 64 of file bondtrscashflow.hpp.
|
private |
Definition at line 65 of file bondtrscashflow.hpp.
|
private |
Definition at line 66 of file bondtrscashflow.hpp.
|
private |
Definition at line 67 of file bondtrscashflow.hpp.