show_benchmark
Compare portfolio return against benchmark indices like SPY and QQQ, using daily snapshot history or cost-basis data.
Instructions
Compare portfolio return against benchmark indices (default: SPY and QQQ). Uses daily snapshot history when available for accurate time-series comparison; falls back to cost-basis vs current value when no snapshots exist.
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": "show_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Start date YYYY-MM-DD (default: earliest snapshot or transaction date) | |
| to | No | End date YYYY-MM-DD (default: today) | |
| benchmarks | No | Tickers to compare against (default: ["SPY", "QQQ"]) |