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'.
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) |