yfinance_get_top
Get top-ranked financial entities—ETFs, mutual funds, or companies by market cap, growth, or performance—within a chosen sector.
Instructions
Get top-ranked financial entities within a sector.
This unified tool provides access to various rankings:
- ETFs and mutual funds focused on the sector
- Largest companies by market capitalization
- Fastest-growing companies by revenue/earnings
- Best-performing stocks by price appreciation
Returns JSON data with relevant metrics for each entity type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top entities to retrieve per category/industry | |
| sector | Yes | Market sector (e.g., 'Technology', 'Healthcare', 'Financial Services') | |
| top_type | Yes | Type of entities to retrieve: 'top_etfs' (sector ETFs), 'top_mutual_funds' (sector mutual funds), 'top_companies' (largest by market cap), 'top_growth_companies' (fastest revenue/earnings growth), 'top_performing_companies' (best stock price performance) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |