Open positions
get_positionsRetrieve open positions showing open price, current price, exposure, and profit/loss. Choose individual or net view to aggregate per instrument.
Instructions
Open positions with open price, current price, exposure and profit/loss. view="individual" (default) lists every position; view="net" nets positions per instrument.
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_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | individual (default) or net | |
| 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. |