get_gainers_and_losers
Identify top gainers and losers by today's change or total return since purchase, providing a clear view of portfolio performance.
Instructions
Get the top gainers or losers — either by today's change or by total return since purchase. Use this for 'best/worst performers'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "get_gainers_and_losers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | How many to return | |
| mode | Yes | 'gainers'/'losers' for today; 'gainersTotal'/'losersTotal' for total return | |
| accountId | No | Filter by depot ID(s) |