Correlated Stocks
GetCorrelatedStocksGet the stocks whose daily price returns are most (or least) correlated with one stock — Pearson correlation of daily log returns on comparable raw closes (dividends excluded), computed over the trading days both stocks priced, never on raw price levels. Scope picks the candidate universe: Industry (default) ranks the subject's direct industry peers; Sector widens to sibling industries; Market ranges across the ~1,500 largest listed names and surfaces cross-industry relationships the classification misses (suppliers, commodity proxies). direction=Negative flips the ranking to the strongest inverse movers (hedge candidates). Candidates need a $100M market cap and enough overlapping trading days with the subject; each row reports the observation count behind its coefficient. Use GetStockPrices for the underlying series and the screener for fundamentals-based peer sets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trailing calendar window in days for the return series (default 180, clamped to 30-730). | |
| scope | No | Candidate universe: Industry (default), Sector, or Market (~1,500 largest listed names). | Industry |
| ticker | Yes | Exact listed ticker symbol (e.g., GOOG, GOOGL, BRK-A or BRK-B). Dot class-share notation such as BRK.A is also accepted. | |
| direction | No | Positive (default) for the strongest co-movers, Negative for the strongest inverse movers. | Positive |
| maxResults | No | Maximum number of stocks to return (default 10, max 50). |