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/fin
Contributions 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:
$ make check
To update and view the test coverage report:
$ make cover
fin is released under the MIT license. Please see the LICENSE file for more information.