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.