calculate the accrued amount of a bond
fixed- or floating-rate bond data structure; bond
a string containing a date specification in a format recognized by ParseDate or a Date data structure; evaluation date
The AccruedAmount command computes the interest that is due on a bond since the last interest payment was made. Accrued interest is added to the contract price of a bond transaction.
The parameter bond is a fixed coupon bond or floating rate bond.
The (optional) parameter date is the evaluation date. By default the global evaluation date is used. It can be specified in any of the standard date formats supported by the package.
Note that the value returned by the AccruedAmount command depends on the day count and day rolling conventions used by bond.
SetEvaluationDate⁡March 15, 2005:
March 15, 2005
Consider a 3-year bond with face value of 100 that pays a fixed coupon of 3 percent issued on March 15, 2005.
Principal ≔ 100:
Coupon ≔ 0.03:
B1 ≔ FixedCouponBond⁡Principal,3,Years,Coupon,issuedate=March 15, 2005,daycounter=Thirty360European:
Here is the same bond but using the ISDA convention.
B2 ≔ FixedCouponBond⁡Principal,3,Years,Coupon,issuedate=March 15, 2005,daycounter=ISDA:
Here is the interest accrued before the first coupon payment.
AccruedAmount⁡B1,March 14, 2006
AccruedAmount⁡B2,March 14, 2006
Compare this to
Principal⁢Coupon⁢YearFraction⁡March 15, 2005,March 14, 2006,Thirty360European
Principal⁢Coupon⁢YearFraction⁡March 15, 2005,March 14, 2006,ISDA
This shows the interest accrued right after the first coupon payment.
AccruedAmount⁡B1,March 15, 2006
AccruedAmount⁡B2,March 15, 2006
Here is the interest accrued two months after the first coupon payment.
AccruedAmount⁡B1,May 16, 2006
AccruedAmount⁡B2,May 16, 2006
Compare accrued interest and the difference between the clean price and the dirty price of a bond.
SetEvaluationDate⁡March 14, 2006:
March 14, 2006
SetEvaluationDate⁡March 15, 2006:
March 15, 2006
SetEvaluationDate⁡March 16, 2006:
March 16, 2006
The Finance[AccruedAmount] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Download Help Document