Balances
get_balancesRetrieve cash balance, total account value, margin usage, unrealised P&L, and open position/order counts for a specified Saxo account or the entire client.
Instructions
Cash balance, total account value, margin available/used, unrealised P&L and open position/order counts for one account (default) or the whole client.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_balances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountKey | No | Saxo AccountKey. Omit to use the client's default account (see get_account_summary for the list). | |
| wholeClient | No | If true, aggregate across ALL accounts of the client instead of one account. |