get_fire
Calculates the years to financial independence (4% rule) from expenses, savings, return and age.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inflation | No | Annual inflation in % (default 3) | |
| currentAge | No | Current age (default 30) | |
| annualReturn | No | Expected annual return in % (default 7) | |
| monthlyExpenses | Yes | Monthly expenses | |
| currentPortfolio | No | Current net worth (default 0) | |
| monthlyInvestment | Yes | Monthly savings/investment |