Logo
Reference manual - version qle_version
ForwardBond Class Reference

Forward Bond class. More...

#include <qle/instruments/forwardbond.hpp>

Inheritance diagram for ForwardBond:

Classes

class  arguments
class  results
class  engine

Public Member Functions

 ForwardBond (const QuantLib::ext::shared_ptr< QuantLib::Bond > &underlying, const Real strikeAmount, const Date &fwdMaturityDate, const Date &fwdSettlementDate, const bool isPhysicallySettled, const bool knockOut, const bool settlementDirty, const Real compensationPayment, const Date compensationPaymentDate, const bool isLong, const Real bondNotional=1.0)
 Constructor vanilla forward bond.
 ForwardBond (const QuantLib::ext::shared_ptr< QuantLib::Bond > &underlying, const Real lockRate, const DayCounter &lockRateDayCounter, const bool longInForward, const Date &fwdMaturityDate, const Date &fwdSettlementDate, const bool isPhysicallySettled, const bool knockOut, const bool settlementDirty, const Real compensationPayment, const Date compensationPaymentDate, const bool isLong, const Real bondNotional=1.0, const Real dv01=Null< Real >())
 Constructor for tlocks with lock rate.
bool isExpired () const override
 \Name Instrument interface
void setupArguments (PricingEngine::arguments *) const override
void fetchResults (const PricingEngine::results *) const override

Inspectors

const QuantLib::ext::shared_ptr< QuantLib::Bond > & underlying ()

Detailed Description

Forward Bond class.