Computing money market yield (MMY) for a T-bill
hpr2mmy(hpr, t)
hpr
holding period return
t
number of days remaining until maturity
mmy2hpr
hpr2mmy(hpr=0.01523,t=120)