Overlap and risk of two ETFs
compare_etfsUse this when the user names exactly two US ETFs and asks how much they overlap, whether one duplicates the other, or how they differ in cost and risk. Returns the overlap by weight and each ETF's share held in common, the largest shared holdings, the correlation of weekly returns over up to three years, and each ETF's cost, return, volatility and worst fall (most ETFs read from SEC filings have no return or risk figures here), with both holdings dates. Two bond ETFs are compared by issuer overlap, option income stock ETFs (JEPI, QYLD) by their stocks alone. An ETF read from SEC filings that is leveraged, inverse, under half in stock or half in swaps and futures, a trust or pool (metal, crypto, currency, futures), a multi-asset, sponsor-file or prospectus-only ETF, or a bond ETF beside a stock ETF is compared by weekly returns alone, with the reason. Not for three or more ETFs (get_etf_overlap_matrix).
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": {
"a": "<a>",
"b": "<b>"
},
"name": "compare_etfs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | A US ETF ticker, for example VOO or SCHD. Case does not matter. | |
| b | Yes | The other US ETF ticker, for example QQQ. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | ||
| funds | No | ||
| source | No | ||
| covered | No | ||
| overlap | No | In percent. | |
| comparable | No | ||
| weeks_used | No | ||
| not_covered | No | ||
| prices_as_of | No | ||
| correlation_3y | No | ||
| holdings_as_of | No | ||
| issuer_overlap | No | By issuer, in percent. | |
| not_comparable | No | ||
| holdings_source | No |