Computes treasury bill price, rate and rate index.

ivt_tbill_price(rate, days)

ivt_tbill_rate(price, days)

ivt_rate_index(price, days)

Arguments

rate

Annual interest rate.

days

Days to maturity.

price

Purchase price.

Examples

ivt_tbill_price(0.145, 57)
#> [1] 97.70417
ivt_tbill_rate(93, 360)
#> [1] 7
ivt_rate_index(93, 200)