yldtbill

Yield of Treasury bill

Syntax

Yield = yldtbill(Settle, Maturity, Face, Price)

Arguments

Settle

Settlement date. Enter as serial date number or date string. Settle must be earlier than Maturity.

Maturity

Maturity date. Enter as serial date number or date string.

Face

Redemption (par, face) value.

Price

Price of the Treasury bill.

Description

Yield = yldtbill(Settle, Maturity, Face, Price) returns the yield for a Treasury bill.

Examples

expand all

Find the Yield for a Treasury Bill

This example shows how to return the yield for a Treasury bill, given the settlement date of a Treasury bill is February 10, 2000, the maturity date is August 6, 2000, the par value is $1000, and the price is $981.36.

Yield = yldtbill('2/10/2000', '8/6/2000', 1000, 981.36)
Yield =

    0.0384

References

Bodie, Kane, and Marcus, Investments, pages 41-43.

Was this topic helpful?