InArrearIndexedCoupon - Maple Help

Home : Support : Online Help : Mathematics : Finance : Cash Flow Analysis : InArrearIndexedCoupon

Finance

 InArrearIndexedCoupon
 construct an in-arrear indexed coupon

 Calling Sequence InArrearIndexedCoupon(nominal, rate, startdate, enddate, paymentdate)

Parameters

 nominal - non-negative constant; nominal value rate - yield term structure or benchmark rate; rate startdate - a string containing a date specification in a format recognized by ParseDate or a date data structure; accrual start date enddate - a string containing a date specification in a format recognized by ParseDate or a date data structure; accrual end date paymentdate - a string containing a date specification in a format recognized by ParseDate or a date data structure; payment date

Description

 • The InArrearIndexedCoupon command constructs an in-arrear indexed coupon.
 • The interest is accrued between startdate and enddate.
 • The optional parameter paymentdate can be used to specify when the accrued interest will be payed. By default paymentdate is equal to enddate.

Examples

 > $\mathrm{with}\left(\mathrm{Finance}\right):$
 > $\mathrm{SetEvaluationDate}\left("January 2, 2005"\right):$
 > $\mathrm{paymentdate}≔"January 2, 2015"$
 ${\mathrm{paymentdate}}{≔}{"January 2, 2015"}$ (1)
 > $\mathrm{startdate}≔"January 2, 2006"$
 ${\mathrm{startdate}}{≔}{"January 2, 2006"}$ (2)
 > $\mathrm{enddate}≔"January 2, 2010"$
 ${\mathrm{enddate}}{≔}{"January 2, 2010"}$ (3)
 > $\mathrm{rate}≔\mathrm{BenchmarkRate}\left(6,\mathrm{Months},\mathrm{USDLIBOR},0.05\right):$
 > $\mathrm{coupon}≔\mathrm{InArrearIndexedCoupon}\left(100,\mathrm{rate},\mathrm{startdate},\mathrm{enddate},\mathrm{paymentdate}\right)$
 ${\mathrm{coupon}}{≔}{\mathrm{20.26527080 on January 2, 2015}}$ (4)
 > $\mathrm{NetPresentValue}\left(\mathrm{coupon},0.05\right)$
 ${12.29150807}$ (5)

Compatibility

 • The Finance[InArrearIndexedCoupon] command was introduced in Maple 15.