24#ifndef quantlib_zerocouponswap_hpp
25#define quantlib_zerocouponswap_hpp
Zero-coupon interest rate swap.
Rate fairFixedRate(const DayCounter &dayCounter) const
const Leg & floatingLeg() const
just one cashflow in each leg
Date startDate() const override
Real fixedPayment() const
ext::shared_ptr< IborIndex > iborIndex_
const ext::shared_ptr< IborIndex > & iborIndex() const
const Leg & fixedLeg() const
just one cashflow in each leg
Date maturityDate() const override
Real floatingLegNPV() const
Real fairFixedPayment() const
Type type() const
"payer" or "receiver" refer to the fixed leg.
BusinessDayConvention
Business Day conventions.
unsigned QL_INTEGER Natural
positive integer
std::vector< ext::shared_ptr< CashFlow > > Leg
Sequence of cash-flows.