tbillyield
Yield of a Treasury bill given its price.
Syntax
Section titled “Syntax”v = tbillyield(settlement, maturity, pr)Description
Section titled “Description”Returns the yield for a T-bill priced at pr per $100 face.
Example
Section titled “Example”tbillyield('2008-03-31', '2008-06-01', 98.45)See also
Section titled “See also”tbillprice— Price per $100 face value of a Treasury bill.tbilleq— Bond-equivalent yield for a Treasury bill.