us-stock-analysis

Solid

Workspace-aware US stock analysis for kcn. Routes through `clawock analyze-us` / `clawock us-quotes` 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.

AI & Automation 14 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 /root/.local/bin/clawock analyze-us {TICKER} /root/.local/bin/clawock analyze-us {TICKER} --no-news # skip news (save Finnhub quota) # Price-only refresh /root/.local/bin/clawock us-quotes {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 fix. **Web search is only for:** earnings transcripts, SEC filings, analyst notes, sector news,...

Details

Author
KCNyu
Repository
KCNyu/clawock
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category