Main Content

yldmat

Yield with interest at maturity

Description

Yield = yldmat(Settle,Maturity,Issue,Face,Price,CouponRate) returns the yield of a security paying interest at maturity.

example

Yield = yldmat(___,Basis) adds an optional argument for Basis.

Examples

collapse all

This example shows how to find the yield of a security paying interest at maturity for the following.

Settle = '02/07/2000';
Maturity = '04/13/2000';
Issue = '10/11/1999';
Face = 100;
Price = 99.98;
CouponRate = 0.0608;
Basis = 1;

Yield = yldmat(Settle, Maturity, Issue, Face, Price,... 
CouponRate, Basis)
Yield = 
0.0607

This example shows how to use datetime inputs find the yield of a security paying interest at maturity for the following:

Settle = datetime(2000,2,7);
Maturity = datetime(2000,4,13);
Issue = datetime(1999,10,11);
Face = 100;
Price = 99.98;
CouponRate = 0.0608;
Basis = 1;

Yield = yldmat(Settle, Maturity, Issue, Face, Price, CouponRate, Basis)
Yield = 
0.0607

Input Arguments

collapse all

Settlement date of the security, specified using a datetime array, string array, or date character vectors. The Settle date must be before the Maturity date.

To support existing code, yldmat also accepts serial date numbers as inputs, but they are not recommended.

Data Types: char | string | datetime

Maturity date of the security, specified using a datetime array, string array, or date character vectors.

To support existing code, yldmat also accepts serial date numbers as inputs, but they are not recommended.

Data Types: char | string | datetime

Issue date of the security, specified using a datetime array, string array, or date character vectors.

To support existing code, yldmat also accepts serial date numbers as inputs, but they are not recommended.

Data Types: char | string | datetime

Redemption value (par value) of the security, specified as a scalar or vector using numeric values.

Data Types: double

Price of the security, specified as a scalar or vector using numeric values.

Data Types: double

Coupon rate of the security, specified as a scalar or a vector using decimal fractions.

Data Types: double

(Optional) Day-count basis for the security, specified as a scalar or vector using the following values:

  • 0 = actual/actual

  • 1 = 30/360 (SIA)

  • 2 = actual/360

  • 3 = actual/365

  • 4 = 30/360 (PSA)

  • 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/252

For more information, see Basis.

Data Types: double

Output Arguments

collapse all

Yield of a security paying interest at maturity, returned as a scalar or vector of numeric values.

References

[1] Mayle, J. Standard Securities Calculation Methods. Volumes I-II, 3rd edition. Formula 3.

Version History

Introduced before R2006a

expand all