#include <qle/instruments/forwardbond.hpp>
Definition at line 90 of file forwardbond.hpp.
◆ validate()
Definition at line 82 of file forwardbond.cpp.
82 {
83 QL_REQUIRE(
underlying,
"bond pointer is null");
85 "exactly one of payoff or lockRate must be filled");
86 QL_REQUIRE(
lockRate == Null<Real>() ||
longInForward,
"if lockRate is given, longInForward must be given as well");
87}
boost::optional< bool > longInForward
QuantLib::ext::shared_ptr< Payoff > payoff
QuantLib::ext::shared_ptr< QuantLib::Bond > underlying
◆ underlying
QuantLib::ext::shared_ptr<QuantLib::Bond> underlying |
◆ payoff
QuantLib::ext::shared_ptr<Payoff> payoff |
◆ lockRate
◆ longInForward
boost::optional<bool> longInForward |
◆ lockRateDayCounter
DayCounter lockRateDayCounter |
◆ fwdMaturityDate
◆ fwdSettlementDate
◆ isPhysicallySettled
◆ settlementDirty
◆ compensationPayment
◆ compensationPaymentDate
Date compensationPaymentDate |
◆ bondNotional
◆ dv01