screen_stocks
Screen stocks using technical criteria like RSI, trend scores, EMA positions, and volume spikes to identify oversold bounces, trending patterns, and volume anomalies in the S&P 500 or custom tickers.
Instructions
Screen stocks against technical criteria — find oversold bounces, trending stocks, volume spikes, etc.
Scans the S&P 500 top 100 (or custom tickers) and filters by RSI, trend score, EMA position, and relative volume. Each stock gets a Trend Score from -100 (strong downtrend) to +100 (strong uptrend).
Args: rsi_max: Maximum RSI to filter for oversold stocks (e.g. 30) rsi_min: Minimum RSI to filter for overbought stocks (e.g. 70) trend_min: Minimum trend score (e.g. 15 for uptrend, 40 for strong uptrend) trend_max: Maximum trend score (e.g. -15 for downtrend, -40 for strong downtrend) above_200ema: If true, only stocks above 200-day EMA above_50ema: If true, only stocks above 50-day EMA min_relative_volume: Minimum relative volume vs 20-day avg (e.g. 1.5 = 50% above average) universe: "sp500" (top 100 by market cap) or "etfs" (sector + index ETFs) tickers: Custom list of tickers to screen (overrides universe) max_results: Maximum results to return (default 15)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rsi_max | No | ||
| rsi_min | No | ||
| trend_min | No | ||
| trend_max | No | ||
| above_200ema | No | ||
| above_50ema | No | ||
| min_relative_volume | No | ||
| universe | No | sp500 | |
| tickers | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |