Get trader portfolio
get_trader_portfolioA public trader's book by handle: open holdings and perps with value and PnL, closed positions, cash, realized PnL and the balance curve. Dust is hidden unless include_dust is true.
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": {
"handle": "<handle>"
},
"name": "get_trader_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Order of holdings and closed positions (default newest). | |
| limit | No | Caps holdings and closed positions each, 1-200 (default 50); above 200 is read as 200. | |
| handle | Yes | Trader handle, without the @. | |
| include | No | Comma-separated sections (`holdings`, `closed`, `activity`, `realized_history`, `balance_history`, `perps`, `cash_rows`). Omitted returns every section. An unknown name is a 400. | |
| include_dust | No | Include dust-sized holdings (default false). |