[][src]Crate financial

Financial

Financial is a collection of finance calculations memicking some of Excel Financial Functions interface.

What is different than other financial Rust cargos?

It supports both periodic and scheduled computation for IRR and NPV.

Future Work

  • Add More Functions
  • Add bench tests

Github

Functions

fv

Calculates the future value of an investment based on a constant interest rate. You can use FV with either periodic, constant payments, or a single lump sum payment.

irr

Calculates the internal rate of return for a series of cash flows occurring at regular interval represented by the numbers in values.

npv

Calculates the net present value of an investment by using a discount rate and a series of future payments (negative values) and income (positive values).

pv

Calculates the present value of a loan or an investment, based on a constant interest rate. You can use PV with either periodic, constant payments (such as a mortgage or other loan), or a future value that's your investment goal.

xirr

Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic

xnpv

Returns the net present value for a schedule of cash flows that is not necessarily periodic.