Screen stocks and ETFs by performance and risk
screen_securitiesUse this when the user wants a ranked list of US stocks or ETFs by a performance or risk metric, optionally within a sector or ETF category (e.g. "lowest volatility dividend ETFs", "highest Sharpe tech stocks this year", "energy stocks with the smallest drawdown"). Covers about 1,100 US-listed stocks and about 480 US ETFs, end-of-day. Not for fundamentals (P/E, revenue), news or buy recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Limit to stocks, ETFs, or both | all |
| limit | No | ||
| order | No | desc | |
| sector | No | Case-insensitive match on a stock's GICS sector (e.g. Information Technology, Health Care, Energy, Financials) or an ETF's category (e.g. Dividend, Bonds, Treasury, Large Cap Growth, Emerging Markets, Gold) | |
| sortBy | No | Metric to rank by. For lowest risk, sort maxDrawdown1yPct descending (closest to 0) or beta1y ascending | return1yPct |
| filters | No | Optional bounds in each metric's own units, e.g. {metric: 'beta1y', max: 1}. maxDrawdown1yPct is negative, so a drawdown smaller than 20% is {metric: 'maxDrawdown1yPct', min: -20} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Redstone screener with every column and filter | |
| asOf | Yes | Market date (YYYY-MM-DD) of the latest close behind every number | |
| results | Yes | ||
| totalMatches | Yes |