submit_portfolio_snapshot
Wgranie stanu rachunku z zewnętrznego brokera.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| broker | Yes | Broker identifier: 'xtb', 'bossa', 'mbank', etc. | |
| account | Yes | Account identifier: number, alias, or ''. | |
| asOfIso | Yes | ISO 8601 timestamp from broker API. | |
| cashPLN | No | PLN cash balance (optional, legacy single-currency field). | |
| holdings | Yes | ||
| cashByCurrency | No | Native multi-currency cash, keyed by ISO code, e.g. {"PLN": 22578, "USD": 144}. Preferred over cashPLN for multi-currency accounts (keeps USD/EUR cash in native currency — no manual FX conversion). Values are numbers or null; non-ISO keys ignored. | |
| totalEquityPLN | No | Total equity for sanity check. |