NumPy: Financial functions routines

Simple Financial functions routines

Name Description Syntax
fv() Compute the future value. numpy.fv(rate, nper, pmt, pv, when='end')[source]
pv() Compute the present value. numpy.pv(rate, nper, pmt, fv=0.0, when='end')
npv() Returns the NPV (Net Present Value) of a cash flow series. numpy.npv(rate, values)
pmt() Compute the payment against loan principal plus interest. numpy.pmt(rate, nper, pv, fv=0, when='end')
ppmt() Compute the payment against loan principal. numpy.ppmt(rate, per, nper, pv, fv=0.0, when='end')
ipmt Compute the interest portion of a payment. numpy.ipmt(rate, per, nper, pv, fv=0.0, when='end')
irr The (IRR) function return the Internal Rate of Return. numpy.irr(values)
mirr Modified internal rate of return. numpy.mirr(values, finance_rate, reinvest_rate)
nper() Compute the number of periodic payments. numpy.nper(rate, pmt, pv, fv=0, when='end')
rate() Compute the rate of interest per period. numpy.rate(nper, pmt, pv, fv, when='end', guess=0.1, tol=1e-06, maxiter=100)

Previous: NumPy Home
Next: fv() function