Create Account Balance
create_account_balanceRecord or update an account's balance for a specific date in its balance history, ensuring the cash figure used in portfolio holdings stays accurate.
Instructions
Set an account's balance for a specific date in its balance history.
This writes directly to the balance-history series that
get_account_balances returns and that get_portfolio_holdings derives
its cash figure from - it is not the same as the account's summary
balance field. Calling this again for the same account and date
updates that entry instead of duplicating it, so setting today's
balance is just this call with date omitted.
The balance is recorded in the account's own currency; Ghostfolio's API does not accept a separate currency for this endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO-8601 date for this balance entry, e.g. '2026-08-27'. Defaults to today. | |
| balance | Yes | Balance value to record for the given date | |
| account_id | Yes | Account ID to record a balance entry for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||