← ClaudeAtlas

us-stock-analysislisted

Workspace-aware US stock analysis for kcn. Routes through the local fetch pipeline (analyze_us_stocks.py / fetch_us_stocks.py) instead of generic web search, then layers fundamental/technical/news analysis on top. Use when user asks to analyze a US ticker (e.g. "analyze AAPL", "look at RKLB", "compare TSLA vs NVDA"), check earnings, run technicals, or write an investment report on a US name.
KCNyu/clawock · ★ 2 · Data & Documents · score 68
Install: claude install-skill KCNyu/clawock
# US Stock Analysis Workspace-native US stock analyst. Always uses kcn's local pipeline for price/RSI/MA/signal — uses web search only for news, peer data, fundamentals. ## Required reads before answering In this order: 1. `/root/.openclaw/workspace/MEMORY.md` — data rules and traps (especially the "禁止用 portfolio.json 缓存价" rule) 2. `/root/.openclaw/workspace/TOOLS.md` — script paths, provider fallback chains, skill routing table 3. `/root/.openclaw/workspace/INVESTMENT_SOP.md` — standard startup sequence for investment questions 4. `/root/.openclaw/workspace/portfolio.json` — if the ticker is in the active book, cost basis and PnL matter ## Data source rule (non-negotiable) **Default path — use the workspace script, not web search:** ```bash # Full analysis: refreshes price + RSI-14 / MA20 / MA50 + Finnhub news + signal python3 /root/.openclaw/workspace/scripts/data/analyze_us_stocks.py {TICKER} python3 /root/.openclaw/workspace/scripts/data/analyze_us_stocks.py {TICKER} --no-news # skip news (save Finnhub quota) # Price-only refresh python3 /root/.openclaw/workspace/scripts/data/fetch_us_stocks.py {TICKER} ``` The script internally runs the 7-route fallback (Nasdaq API → Eastmoney → Finnhub → Yahoo v8 → yfinance → Alpha Vantage → Polygon), pulls `prev_close` independently from Polygon's `/prev` endpoint (so `today_change` is trustworthy after close), and writes back to `portfolio.json` if the ticker is held. Bypassing it re-introduces every bug it was written to f