Documentation

This is machine translation

Translated by
Mouse over text to see original. Click the button below to return to the English verison of the page.

acrubond

Accrued interest of security with periodic interest payments

Syntax

```AccruInterest = acrubond(IssueDate, Settle, FirstCouponDate, Face,CouponRate, Period, Basis)
```

Arguments

 `IssueDate` Enter as serial date number, date character vector, or datetime array. `Settle` Enter as serial date number, date character vector, or datetime array. `FirstCouponDate` Enter as serial date number, date character vector, or datetime array. `Face` Redemption (par, face) value. `CouponRate` Enter as decimal fraction. `Period` (Optional) Coupons per year of the bond. A vector of integers. Allowed values are `0`, `1`, `2` (default), `3`, `4`, `6`, and `12`. `Basis` (Optional) Day-count basis of the instrument. A vector of integers. 0 = actual/actual (default)1 = 30/360 (SIA)2 = actual/3603 = actual/3654 = 30/360 (BMA)5 = 30/360 (ISDA)6 = 30/360 (European)7 = actual/365 (Japanese)8 = actual/actual (ICMA)9 = actual/360 (ICMA)10 = actual/365 (ICMA)11 = 30/360E (ICMA) 12 = actual/365 (ISDA)13 = BUS/252For more information, see basis.

Description

```AccruInterest = acrubond(IssueDate, Settle, FirstCouponDate, Face, CouponRate, Period, Basis)``` returns the accrued interest for a security with periodic interest payments. This function computes the accrued interest for securities with standard, short, and long first coupon periods.

 Note   `cfamounts` or `accrfrac` is recommended when calculating accrued interest beyond the first period.

Examples

collapse all

This example shows how to find the accrued interest for a bond with semiannual interest payments.

```AccruInterest = acrubond('31-jan-1983', '1-mar-1993', ... '31-jul-1983', 100, 0.1, 2, 0) ```
```AccruInterest = 0.8011 ```

This example shows how to use `datetime` inputs to find the accrued interest for a bond with semiannual interest payments.

```AccruInterest = acrubond(datetime('31-jan-1983','Locale','en_US'),datetime('1-mar-1993','Locale','en_US'),datetime('31-jul-1983','Locale','en_US'),... 100, 0.1, 2, 0) ```
```AccruInterest = 0.8011 ```

See Also

Introduced before R2006a

Was this topic helpful?

Modelling and Analysis: A Financial Services Perspective

Download the industry report