Skip to content

goinvest/fin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fin

Go library for financial calculations.

GoDoc Go Report Card License Badge

Overview

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

Installation

$ go get github.com/goinvest/fin

Contributing

Contributions are welcome! To contribute please:

  1. Fork the repository
  2. Create a feature branch
  3. Code
  4. Submit a pull request

Testing

Prior to submitting a pull request, please run:

$ make check

To update and view the test coverage report:

$ make cover

License

fin is released under the MIT license. Please see the LICENSE file for more information.