User Tools

Site Tools


tbill_yield_methodology

This is an old revision of the document!


dummy

Example: 912797JA6 is a tbill with 28 days maturity. It was sold for $99.5905 on 2023-12-21. What is the yield?

Ans: For tbills of not more than half-year maturity, the yield is calculated as

i = ((100 - P)/P) * (y/r)

where y is 366, r is the days to maturity.

In [25]:
def tbill_yield(P, r):
    y = 366
    i = ((100 - P) / P) * (y/r)
    i = round(i*100, 3)
    return(i)

In [26]:
tbill_yield(99.5905, 28)
Out[26]:
5.375

so the yield is 5.375%

Ref:

tbill_yield_methodology.1703185136.txt.gz · Last modified: 2023/12/21 18:58 by raju