compare_sectors
Compare all 11 market sectors side by side with aggregate metrics from Finviz, including median P/E, total market cap, and performance. Use for quick sector-by-sector overview.
Instructions
Compare all market sectors with aggregate metrics from Finviz. Returns sector-level aggregates (median P/E, total market cap, etc.) for all 11 sectors in a single view. Data source: Finviz groups page (current snapshot).
Args: view: Data view to return. Options: "overview" — Stocks, Market Cap, Dividend, P/E, Fwd P/E, PEG, LTDebt/Eq, Debt/Eq, Float Short, Recom, Change, Volume "valuation" — Market Cap, P/E, Fwd P/E, PEG, P/S, P/B, P/C, P/FCF, EPS past 5Y, EPS next 5Y, Sales past 5Y, Change, Volume "performance" — Perf Week, Perf Month, Perf Quart, Perf Half, Perf Year, Perf YTD, Avg Volume, Rel Volume, Change, Volume order: Sort column — e.g. "name", "marketcap", "pe", "change", "volume", "dividendyield".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | overview | |
| order | No | name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |