finance-rust is a simple common finance mathematics in rust.

support 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)