一键导入
stock-screener
Use when the user wants to screen for promising stock candidates using CANSLIM fundamentals combined with live technical signals from the trader CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user wants to screen for promising stock candidates using CANSLIM fundamentals combined with live technical signals from the trader CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user wants to run their daily pre-market workflow — a structured morning brief covering economic risk, market health, geopolitical events, news digest, sentiment scores, strategy signals, portfolio review, open orders, and trade decisions.
Use when the user wants to analyze, simulate, or execute an options strategy — covered calls, protective puts, spreads, iron condors, straddles, earnings plays — or needs Greeks analysis, P/L simulation, IV assessment, or position sizing for options trades.
Use when the user wants a comprehensive portfolio review — allocation analysis, diversification health, risk metrics, rebalancing recommendations, or position-level trim/add/hold/sell action plans.
Use when invoked as a subprocess to process open DEV inbox tickets in the trader project. Triggered by dev-inbox-pending.json flag file. Implements fixes using TDD + superpowers workflow, replies to each ticket, clears flag when inbox is empty.
Use when running, testing, or automating the trader CLI tool — invoking commands, parsing output, placing orders, fetching quotes, or reading account/position data.
Use when the trader agent needs to file, query, or review a DEV ticket. Single-channel communication between the agent and the developer over .trader/events.jsonl. Triggers on "I need DEV to fix X", "file a DEV ticket", "is DEV-NNN done", "what's open in the dev inbox", or any time the agent identifies a bug, missing feature, or config drift it cannot self-fix.
| name | stock-screener |
| description | Use when the user wants to screen for promising stock candidates using CANSLIM fundamentals combined with live technical signals from the trader CLI. |
Identifies growth stock candidates by combining CANSLIM fundamental scoring with live signals from the trader CLI. Uses trader scan to discover the initial universe from IBKR's live scanner, then validates each candidate with quotes, strategy signals, and news sentiment.
Two stages:
trader scan run for IBKR live scanner results (no external services needed).trader CLI, scored and ranked.Do not use for:
Each criterion scores 0–2 points (0 = fail, 1 = partial, 2 = strong). Max raw score: 14.
| Letter | Criterion | Strong (2) | Partial (1) | Fail (0) |
|---|---|---|---|---|
| C | Current quarterly EPS growth (YoY) | ≥25% | 10–24% | <10% |
| A | Annual EPS growth (3yr trend) | ≥25% CAGR | 15–24% | <15% |
| N | Near 52-week high / new product catalyst | Within 5% | 5–15% below | >15% below |
| S | Volume accumulation (up days > down days) | Ratio ≥1.5 | 1.0–1.5 | <1.0 |
| L | Relative strength vs S&P 500 (1yr) | Outperforms ≥20% | 0–20% | Underperforms |
| I | Institutional ownership trending up | Increasing | Stable | Declining |
| M | Market trend (S&P 500 above 50-day MA) | Uptrend | Sideways | Downtrend |
Composite score = (raw / 14) × 100. Bands:
Use a priority chain — stop at the first source that yields ≥10 tickers:
Priority 1 — Named watchlist (if provided or available):
uv run trader watchlist show canslim
If the command returns a JSON object with a quotes array containing ≥10 tickers (not an error key), use those tickers as the starting universe and skip scanner runs. If fewer than 10 tickers are present or the command returns {"error": ...}, fall through to Priority 2.
Priority 2 — trader scan (live IBKR scanner):
Run the default CANSLIM scan set and merge/deduplicate results:
# Near 52-week highs — criterion N
uv run trader scan run HIGH_VS_52W_HL \
--price-above 10 --avg-volume-above 200000 --ema200-above --limit 30
# Momentum gainers with volume — criteria S, L
uv run trader scan run TOP_PERC_GAIN \
--price-above 10 --avg-volume-above 500000 --mktcap-above 300 --limit 20
# Most active by dollar volume — large liquid names
uv run trader scan run MOST_ACTIVE_USD \
--price-above 15 --ema50-above --limit 20
Extract symbol from each result. Deduplicate. Target 15–25 unique tickers for Step 2.
Priority 3 — FinViz / web search fallback: If scanner is unavailable, use web search to source a universe from FinViz or similar:
site:finviz.com/screener "above 50-day MA" "above 200-day MA" "EPS growth"
Adjust scans based on user intent:
| User asks for... | Scan type to add |
|---|---|
| Earnings plays | WSH_PREV_EARNINGS |
| Options activity | OPT_VOLUME_MOST_ACTIVE or HIGH_OPT_IMP_VOLAT |
| Gap-up setups | HIGH_OPEN_GAP |
| After-hours movers | TOP_AFTER_HOURS_PERC_GAIN |
| ETF sector plays | MOST_ACTIVE with --market ETF.EQ.US.MAJOR |
| International | TOP_PERC_GAIN with --market STK.EU.LSE etc. |
| Weak/short setups | TOP_PERC_LOSE or LOW_VS_52W_HL |
uv run trader quotes get AAPL NVDA MSFT META [... all tickers]
Parse the JSON output. For each ticker note:
last — current pricebid / ask — spreaduv run trader strategies signals \
--tickers AAPL,NVDA,MSFT,META \
--strategy rsi \
--with-news
Parse output for each ticker:
signal — buy, sell, neutralrsi — current RSI value (target 50–70: momentum without overbought)news_sentiment — sentiment score (-1.0 to 1.0)For each candidate, evaluate using:
HIGH_VS_52W_HL scan members score N=2; others use distance from 52wk highstrategies signals --strategy rsi for L (relative strength proxy)strategies run TICKER --strategy ma_cross --lookback 1y for M:uv run trader strategies run AAPL --strategy ma_cross --lookback 1y
If MA cross shows trend: uptrend → M=2. Sideways → M=1. Downtrend → M=0.
Assign scores and calculate composite (raw/14 × 100).
For any ticker scoring ≥70 (Strong or Exceptional), add to both the canslim list and the relevant sector list using this mapping:
| Sector | List |
|---|---|
| Semiconductors / chip equipment | semiconductors |
| Energy / oil / gas | energy |
| Quantum computing | quantum |
| Defense / government tech | momentum |
| All others | canslim |
# Always add to canslim
uv run trader watchlist add TICKER1 TICKER2 --list canslim
# Also add to sector list if applicable
uv run trader watchlist add TICKER --list semiconductors # if semi
uv run trader watchlist add TICKER --list energy # if energy
This populates canslim so future screener runs use it as the starting universe, and keeps sector lists current with the latest high-scoring candidates.
Prune weak scorers: For any ticker that scores <55 and was previously in a watchlist, remove it:
uv run trader watchlist remove WEAK_TICKER --list canslim
Present results as a ranked table, then detail each top candidate.
Format:
## Stock Screener Results — YYYY-MM-DD
### Market Condition
[S&P 500 trend assessment from MA cross — overall M score]
### Ranked Shortlist
| Rank | Ticker | Score | Rating | RSI Signal | Sentiment | Notes |
|------|--------|-------|--------|------------|-----------|-------|
| 1 | NVDA | 91 | Exceptional | buy (RSI 63) | +0.72 | Near ATH, strong EPS |
| 2 | META | 82 | Strong | buy (RSI 58) | +0.41 | Annual growth solid |
| ... | ... | ... | ... | ... | ... | ... |
### Top 3 Candidates
#### 1. NVDA — Exceptional (91/100)
- C: 2 — EPS +78% QoQ
- A: 2 — 3yr CAGR ~65%
- N: 2 — 2% from 52wk high (confirmed by HIGH_VS_52W_HL scan)
- S: 2 — Volume accumulation confirmed
- L: 2 — Outperforming SPX by 45%
- I: 1 — Institutional ownership stable-high
- M: 2 — MA cross uptrend confirmed
- RSI signal: buy (63), sentiment: +0.72
- Entry consideration: Current $XXX, look for pullback to 20-day MA
[Repeat for top 3]
### Watchlist (Moderate, 55–69)
[List with brief rationale]
### Skipped
[Tickers that returned null quotes or scored <55]
| Purpose | Command |
|---|---|
| Scan for universe | uv run trader scan run TYPE [--filters...] |
| List scan types | uv run trader scan types |
| List markets | uv run trader scan markets |
| All 563 scan types | uv run trader scan params --section types |
| Live quotes (multi-ticker) | uv run trader quotes get T1 T2 T3 ... |
| RSI signals with news | uv run trader strategies signals --tickers T1,T2 --strategy rsi --with-news |
| Trend confirmation | uv run trader strategies run TICKER --strategy ma_cross --lookback 1y |
| News sentiment | uv run trader news sentiment TICKER --lookback 7d |
| Show CANSLIM watchlist | uv run trader watchlist show canslim |
| Add to CANSLIM watchlist | uv run trader watchlist add TICKER [TICKER2 ...] --list canslim |
strategies signals works best with ≤15 tickers. Split into batches if needed.--mktcap-above 300 and --avg-volume-above 200000 to filter junk.--tickers takes comma-separated values: AAPL,MSFT (no spaces).