Long-horizon wealth-path stress (savings / withdrawal plans)
long_horizon_stressDistribution of multi-year wealth paths for a savings plan (monthly_contribution) or a withdrawal plan (monthly_withdrawal, inflation-indexed by default) on a portfolio from the substrate universe. Multi-year paths chain ~2y model blocks (block-bootstrap, disclosed); long-run drift is RE-ANCHORED to stated capital-market assumptions (overridable via long_run_drift; the substrate's raw stress drift would compound a structural bear universe — both are echoed in the output) while the model's path shape (vol, clustering, correlations, hedge-breaks) is kept. Costs are ON by default. Returns terminal-wealth quantiles (nominal + real), ruin/shortfall probabilities, a sequence-of-returns diagnosis (same plan, bad vs good first two years), and a drift-sensitivity block (assumptions − 2pp). Amounts in the caller's currency unit. Descriptive, not advisory — no rate, allocation, or product is recommended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | Portfolio legs: list of {asset, weight} objects, e.g. [{'asset': 'SPY', 'weight': 0.6}, {'asset': 'TLT', 'weight': 0.4}]. Weights are normalised to sum to 1; assets must be in the substrate universe. | |
| rebalance | No | Rebalancing frequency: 'daily' | 'monthly' | 'quarterly'. | monthly |
| horizon_years | Yes | Plan horizon in years (multi-year paths are chained from ~2-year model blocks). | |
| target_amount | No | Optional wealth target; the output reports the probability of reaching it. | |
| long_run_drift | No | Override the re-anchored long-run drift per asset: {ASSET: annual drift fraction}; omit for the stated capital-market assumptions. | |
| annual_inflation | No | Annual inflation assumption for indexing and real-value reporting (fraction, default 0.02). | |
| initial_investment | No | Starting capital (account currency). | |
| monthly_withdrawal | No | Monthly withdrawal (withdrawal-plan mode); inflation-indexed when withdrawal_inflation_indexed is true. | |
| monthly_contribution | No | Fixed monthly savings contribution (savings-plan mode). | |
| withdrawal_inflation_indexed | No | Index the monthly withdrawal to inflation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |