Bond repo instrument. More...
#include <qle/instruments/bondrepo.hpp>
Classes | |
class | arguments |
Public Types | |
using | results = QuantLib::Instrument::results |
using | engine = QuantLib::GenericEngine< arguments, results > |
Public Member Functions | |
BondRepo (const Leg &cashLeg, const bool cashLegPays, const QuantLib::ext::shared_ptr< Bond > &security, const Real securityMultiplier) | |
void | deepUpdate () override |
bool | isExpired () const override |
void | setupArguments (QuantLib::PricingEngine::arguments *) const override |
void | fetchResults (const QuantLib::PricingEngine::results *) const override |
const Leg & | cashLeg () const |
Inspectors. More... | |
bool | cashLegPays () const |
QuantLib::ext::shared_ptr< Bond > | security () const |
Real | securityMultiplier () const |
Private Member Functions | |
void | setupExpired () const override |
Private Attributes | |
const Leg | cashLeg_ |
const bool | cashLegPays_ |
const QuantLib::ext::shared_ptr< Bond > | security_ |
const Real | securityMultiplier_ |
Bond repo instrument.
Definition at line 34 of file bondrepo.hpp.
using results = QuantLib::Instrument::results |
Definition at line 44 of file bondrepo.hpp.
Definition at line 45 of file bondrepo.hpp.
BondRepo | ( | const Leg & | cashLeg, |
const bool | cashLegPays, | ||
const QuantLib::ext::shared_ptr< Bond > & | security, | ||
const Real | securityMultiplier | ||
) |
Definition at line 28 of file bondrepo.cpp.
|
override |
Definition at line 36 of file bondrepo.cpp.
|
override |
Definition at line 41 of file bondrepo.cpp.
|
override |
Definition at line 48 of file bondrepo.cpp.
|
override |
Definition at line 57 of file bondrepo.cpp.
const Leg & cashLeg | ( | ) | const |
bool cashLegPays | ( | ) | const |
Definition at line 59 of file bondrepo.hpp.
QuantLib::ext::shared_ptr< Bond > security | ( | ) | const |
Definition at line 60 of file bondrepo.hpp.
Real securityMultiplier | ( | ) | const |
Definition at line 61 of file bondrepo.hpp.
|
overrideprivate |
Definition at line 58 of file bondrepo.cpp.
|
private |
Definition at line 64 of file bondrepo.hpp.
|
private |
Definition at line 65 of file bondrepo.hpp.
|
private |
Definition at line 66 of file bondrepo.hpp.
|
private |
Definition at line 67 of file bondrepo.hpp.