Compare two assets' performance and risk
compare_assetsCompare two assets using Gale Finance's published pair pages: the rolling 1Y compare (default), a calendar-year compare (horizon "2024"), or the long-term scorecard with year-by-year returns (horizon "long_term"). Pairs resolve in either order and keep the cited page's A/B labels. When Gale has no pair page, returns each asset's own metrics side by side and says pair figures are not published. Example: "How has gold performed vs bitcoin historically?".
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": {
"asset_a": "<asset_a>",
"asset_b": "<asset_b>"
},
"name": "compare_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_a | Yes | First asset: ticker, name, or alias | |
| asset_b | Yes | Second asset: ticker, name, or alias | |
| horizon | No | "1y" (default), a calendar year such as "2024", or "long_term" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| period | No | ||
| status | Yes | ||
| asset_a | No | ||
| asset_b | No | ||
| metrics | No | ||
| drawdowns | No | ||
| win_tally | No | ||
| candidates | No | ||
| source_url | Yes | Canonical Gale page holding these figures | |
| correlation | No | ||
| source_kind | No | ||
| source_urls | No | ||
| data_through | Yes | Data-through date (YYYY-MM-DD) of the cited figures | |
| horizon_note | No | ||
| method_notes | No | ||
| source_label | No | Which published Gale source the figures come from | |
| year_by_year | No | ||
| ambiguous_side | No | ||
| best_worst_day | No | ||
| overall_winner | No | ||
| best_worst_year | No | ||
| methodology_url | Yes | ||
| rolling_returns | No | ||
| orientation_note | No | ||
| per_asset_windows | No | ||
| requested_horizon | Yes | ||
| available_horizons | No | Horizons Gale publishes for this pair: 1y, calendar years, long_term | |
| correlation_yearly | No |