Scala Programming Projects
上QQ阅读APP看书,第一时间看更新

Project overview

Using some parameters such as your net income, your expenses, your initial capital, and so on, we will create functions to calculate the following:

  • Your future capital at retirement
  • Your capital after a number of years in retirement
  • How long you need to save to be able to retire

We will first use a fixed interest rate for these calculations. After that, we will load market data from .tsv files, then refactor the previous functions to simulate what could happen during the investment period.