A collection of common functions/manipulations used in Actuarial Calculations.
Some of the functions included:
- Calculate the duration given an issue date and date (a.k.a. policy duration)
- Calculate the
DV01durations for a set of cashflows
convexityfor price sensitivity
pvto calculate the present value of a set of cashflows
discount_ratefor a given fixed rate or
irrto calculate the IRR given cashflows (including at timepoints like Excel's
breakevento calculate the breakeven time for a set of cashflows
Click the docs badges above for more details and examples.
Functions often use a mix of interest_rates, cashflows, and timepoints. When calling functions, the general order of the arguments is 1) interest rates, 2) cashflows, and 3) timepoints.