Compare two assets
compare_pairCompare any two US stocks or ETFs for correlation, beta, volatility, max drawdown, fund facts, and holdings overlap. ~4,700 symbols; unknown tickers require resolve_symbol first.
Instructions
Correlation (weekly returns), annualized covariance, beta vs S&P 500, volatility, max drawdown, calendar-year returns, fund facts (fees, yield, AUM) or stock fundamentals (market cap, P/E), and ETF holdings overlap with top common positions, for a pair of US stocks or ETFs. Popular pairs come from PairBook's precomputed matrix; any other pair of covered symbols is computed on demand from the weekly return series. Example: a=QQQ, b=VOO. Symbol order does not matter. Covers ~4,700 US-listed stocks and ETFs only (no crypto, no foreign listings, no inverse/leveraged short funds, no intraday data); figures use weekly closes and refresh once per trading day. Unknown tickers return an error: resolve them with resolve_symbol first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First ticker, e.g. AAPL or SPY | |
| b | Yes | Second ticker, e.g. MSFT or VOO |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| docs | No | ||
| fund | No | ||
| note | No | ||
| page | No | ||
| as_of | Yes | ||
| terms | No | ||
| fundamentals | No | ||
| beta_vs_spy_3y | No | ||
| holdings_overlap | No | ||
| computed_on_demand | No | ||
| correlation_weekly | Yes | ||
| max_drawdown_3y_pct | No | ||
| volatility_ann_pct_3y | No | ||
| covariance_ann_pct2_3y | No | ||
| calendar_year_returns_pct | No |