Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Income Toolbox   

tbillyield - Yield on Treasury bill

Syntax

[MMYield, BEYield, Discount] = tbillyield(Price, Settle, Maturity)

Arguments

Price

Price of Treasury bills for every $100 face value.

Settle

Settlement date. Settle must be earlier than or equal to Maturity.

Maturity

Maturity date.

All arguments must be a scalar or some Treasury bills (NTBILLS) by 1 or 1-by-NTBILLS vector.

Description

[MMYield, BEYield, Discount] = tbillyield(Price, Settle, Maturity) computes the yield of U.S. Treasury bills given Price, Settle, and Maturity. MMYield is the money-market yields of the Treasury bills. BEYield is the bond equivalent yields of the Treasury bills. Discount is the discount rates of the Treasury bills.

All outputs are NTBILLS-by-1 vectors.

Examples

Given a Treasury bill with these characteristics, compute the money-market and bond-equivalent yields and the discount rate.

Price = 98.75;
Settle = '01-Oct-02';
Maturity = '31-Mar-03';

[MMYield, BEYield, Discount] = tbillyield(Price, Settle,... 
Maturity)

MMYield =

    0.0252

BEYield =

    0.0255

Discount =

    0.0249

References

This function adheres to SIA Fixed Income Securities Formulas for Price, Yield, and Accrued Interest, Volume 1, 3rd edition, pp. 44 - 45 (on Treasury bills), and Money Market and Bond Calculation by Stigum and Robinson.

See Also

tbilldisc2yield, tbillprice, tbillyield2disc, zeroyield

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS