/finance-rust

common finance mathematics library in Rust

Primary LanguageRustMIT LicenseMIT

Finance Rust

finance-rust is a simple common finance mathematics in rust.Its cloning form http://financejs.org/. The create includes some finance mathematics theory & formula (eg: CAGR,CI,LR,PI,AM etc.).

Supported Functions

  • Amortization(AM)
  • Compound Annual Growth Rate (CAGR)
  • Compound Interest(CI)
  • Discount Factor (DF)
  • Future Value (FV)
  • Internal Rate of Return (IRR)
  • Leverage Ratio (LR)
  • Net Present Value (NPV)
  • Payback Period (PP)
  • Present Value (PV)
  • Profitability Index (PI)
  • Return on Investment (ROI)
  • Rule of 72 (R72)
  • Weighted Average Cost of Capital (WACC)

Documention

http://blog.pownm.com/finance-rust/finance/.

Todo

  • [] More Functions
  • [] Generic numbers support.