Compare ETFs
compare_etfsCompare two to ten ETFs side by side across classification, costs, performance, risk, holdings and optional overlap to evaluate shared securities and weighted exposure.
Instructions
Return a normalized side-by-side comparison of two to ten ETFs across selected classification, market, fund-data, cost, income, benchmark, price-performance, price-risk, holdings, and optional overlap modules. Include overlap to measure pairwise shared securities and weighted overlap from latest stored holdings, matched by security identity rather than ticker alone; cash, currency and derivatives are excluded. Missing holdings make overlap unavailable, while partial holdings make it a lower bound. Only requested modules run; overlap alone fetches no price history. Leaders are mechanical extrema, not recommendations. Currency, holdings dates and coverage caveats are explicit. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Selected comparison modules. overlap is opt-in and returns pairwise shared holdings and weighted overlap from each fund's latest stored snapshot. | |
| tickers | Yes | Two to ten exact Bullrun ETF listing tickers. | |
| topSharedLimit | No | Maximum shared holdings per ETF pair when overlap is requested; does not limit the snapshots used in overlap calculations. | |
| performanceDays | No | Window in calendar days back from each fund's newest close; the start is the last close on or before that day. 365 matches the fund page and the screener's 1-year return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| leaders | Yes | ||
| overlap | No | ||
| tickers | Yes | ||
| webPage | No | ||
| coverage | Yes | ||
| warnings | Yes | ||
| platformLink | No | ||
| requestedModules | Yes |