disc_rate

disc_rate(i)[source]

Discount rate for period i

Returns an annual discount rate to be applied for period i, which starts one day after date_(i) and ends on date_(i+1). The discount rate is read from disc_rate_ann. If the number of years elapsed from date_init changes during the period, discount rates read from disc_rate_ann are prorated.