MFM accumulation plan simulator (past data)
accumulation_planSimulate a past accumulation plan: a fixed amount bought at every month-end in a market basket over a past period chosen by the user, on the open data series (basket price on base 100, prices only: no dividends, costs, taxes or exchange rates). Returns the average purchase price, the value at the end and the result, and splits the purchases made when the basket price was ABOVE its bottom-up long-term part (gap > 0) from those made when it was WITHIN OR BELOW it (gap ≤ 0); months without a computed long-term part are counted apart. Same computation as /en/portfolio/accumulation-plan/. Nothing is stored. Markets: US (S&P 500 basket), EU (STOXX Europe 600 basket), JP (Japan basket), CH (Swiss basket). Past data only: it describes, it does not forecast, has no expected return and is not advice; say so to the user. Clients that only expose search and fetch: search "plan: market=US; amount=100; from=2022-01; to=2026-08".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>",
"monthly_amount": "<monthly_amount>"
},
"name": "accumulation_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last purchase and valuation month (YYYY-MM); default: the latest month with a published basket price. | |
| from | No | First purchase month (YYYY-MM); default: the first month with a published basket price. | |
| market | Yes | Market basket: US (S&P 500), EU (STOXX Europe 600), JP (Japan) or CH (Switzerland). | |
| monthly_amount | Yes | Amount bought at every month-end, in the basket currency (USD, EUR, JPY or CHF); no exchange-rate conversion. |