load_portfolio
Open the user's Interactive Brokers portfolio in the RetireCrunch Portfolio Rebalancer. First call the IBKR connector's get_account_positions, get_account_balances and get_account_summary, then pass their results here UNCHANGED (do not re-type or round numbers). Returns a private link that works once, for 15 minutes — give it to the user exactly as written. No login is needed because the link itself is the key: the positions are encrypted with a key that exists only in the link, and RetireCrunch's server holds just that encrypted copy, which it cannot read, for at most 15 minutes and deletes it when the link is opened. Tell the user this, and that anyone holding the link can open it once, so it should not be shared. RetireCrunch does not recommend instruments or allocations: the user sets their own targets on the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | The result of IBKR get_account_summary, unchanged (base currency + net liquidation, used to check the numbers add up). | |
| balances | No | The `balances` array from IBKR get_account_balances, unchanged (gives per-currency cash). | |
| language | No | Site language for the link, matching the user's language when possible. | en |
| positions | Yes | The `positions` array from IBKR get_account_positions, unchanged. |