Go library for financial calculations.
fin provides the following financial calculations:
- Various financial ratios (e.g., ROIC, ROE, TIE)
- Internal Rate of Return (IRR) & Modified Internal Rate of Return (MIRR)
- Net Present Value (NPV)
- Payback Period & Discounted Payback Period
- Monte Carlo Simulation (MCS) — not fully implemented
$ go get github.com/goinvest/finContributions are welcome! To contribute please:
- Fork the repository
- Create a feature branch
- Code
- Submit a pull request
Prior to submitting a pull request, please run:
$ just checkTo update and view the test coverage report:
$ just coverfin is released under the MIT license. Please see the LICENSE file for more information.