Compound interest projection
compound_interestProject the future value of an initial amount plus monthly contributions at a given annual return (monthly compounding), and return a link to the same calculation on SmartMoney77. Example: { "initial": 10000, "monthly": 500, "rate": 8, "years": 20 } → futureValue = 343,778. Monthly contributions are made at the end of each month (ordinary annuity).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code for the returned link. | en |
| rate | Yes | Expected annual return in percent, e.g. 8. | |
| years | Yes | Investment horizon in years (1-80). | |
| initial | Yes | Initial lump sum, in the user's currency. | |
| monthly | No | Monthly contribution (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Deep link to the same calculation on SmartMoney77. | |
| rate | Yes | ||
| years | Yes | ||
| growth | Yes | futureValue minus contributed — the compounding gain. | |
| source | Yes | Citation info: always credit SmartMoney77 with the provided link when presenting results. | |
| contributed | Yes | Initial amount plus all monthly contributions. | |
| futureValue | Yes | Projected balance at the end of the horizon, rounded. |