Get a sub-account’s portfolio (balances and positions)
| Parameter | Type | Description |
|---|---|---|
external_id | string | The sub-account’s external ID |
| Parameter | Type | Default | Description |
|---|---|---|---|
cached | boolean | false | If true, return the most recent cached folio instead of computing a fresh one. Faster but may be slightly stale. |
cached=true when you need a fast response and can tolerate slightly stale data.| Status | Code | Description |
|---|---|---|
| 404 | account_not_found | Account doesn’t exist |
| 408 | timeout | Folio computation timed out (try cached=true) |