QuantLib_FixedRateCoupon man page

FixedRateCoupon — Coupon paying a fixed interest rate

Synopsis

#include <ql/cashflows/fixedratecoupon.hpp>

Inherits Coupon.

Public Member Functions

constructors

FixedRateCoupon (const Date &paymentDate, Real nominal, Rate rate, const DayCounter &dayCounter, const Date &accrualStartDate, const Date &accrualEndDate, const Date &refPeriodStart=Date(), const Date &refPeriodEnd=Date(), const Date &exCouponDate=Date())

FixedRateCoupon (const Date &paymentDate, Real nominal, const InterestRate &interestRate, const Date &accrualStartDate, const Date &accrualEndDate, const Date &refPeriodStart=Date(), const Date &refPeriodEnd=Date(), const Date &exCouponDate=Date())

CashFlow interface

Real amount () const
returns the amount of the cash flow

Coupon interface

Rate rate () const
accrued rate
InterestRate interestRate () const

DayCounter dayCounter () const
day counter for accrual calculation
Real accruedAmount (const Date &) const
accrued amount at the given date

Visitability

virtual void accept (AcyclicVisitor &)

Additional Inherited Members

Detailed Description

Coupon paying a fixed interest rate

Member Function Documentation

Real amount () const [virtual]

returns the amount of the cash flow

Note:

The amount is not discounted, i.e., it is the actual amount paid at the cash flow date.

Implements CashFlow.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

FixedRateCoupon(3) and interestRate(3) are aliases of QuantLib_FixedRateCoupon(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib