/Investment-Calculator

Calculate how much money you should invest in each company/fund given your total amount and company percentage distribution.

Primary LanguageGo

Investment-Calculator

Calculate how much money you should invest in each company/fund given your total amount and company percentage distribution.

Usage

  • First of all, fill stocks.txt with the companies you would like to invest in, and how much you want to invest in each company in terms of percentage of total amount.
  • Then run the program with the amount of money you would like to invest.
go run stocks.go 100000