Compare stocks or ETFs
compare_securitiesUse this when the user wants to compare 2 to 5 US stocks or ETFs side by side (e.g. "VOO vs QQQ", "SCHD or VYM?"): returns, drawdown, volatility, Sharpe, beta, dividend yield and how correlated they are, with an overlaid 1Y/5Y chart. End-of-day data for US large and mid caps, major foreign stocks and US ETFs. Not for intraday quotes or recommendations on what to buy.
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": {
"tickers": "<tickers>"
},
"name": "compare_securities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | Tickers to compare, in the order the user named them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Redstone compare page (pairs only) | |
| asOf | Yes | Market date (YYYY-MM-DD) of the latest close behind every number | |
| securities | Yes | ||
| correlation | Yes |