hk-stock-analysislisted
Install: claude install-skill KCNyu/clawock
# HK Stock Analysis
Workspace-native Hong Kong stock analyst. Uses the local fetch pipeline for live price + 恒指/恒科 baseline, then layers HK-specific analysis.
## Required reads before answering
In this order:
1. `/root/.openclaw/workspace/MEMORY.md` — data rules, traps, 00100-only-Tencent warning
2. `/root/.openclaw/workspace/TOOLS.md` — HK fallback chain detail, skill routing
3. `/root/.openclaw/workspace/INVESTMENT_SOP.md` — standard startup sequence
4. `/root/.openclaw/workspace/portfolio.json` — if the ticker is in the active book
## Data source rule (non-negotiable)
**Default path — use the workspace script, not web search:**
```bash
# Full analysis: refreshes price + 恒指/恒科基准 + RSI/MA + Finnhub news + signal
python3 /root/.openclaw/workspace/scripts/data/analyze_hk_stocks.py {TICKER}
python3 /root/.openclaw/workspace/scripts/data/analyze_hk_stocks.py {TICKER} --no-news # skip news
python3 /root/.openclaw/workspace/scripts/data/analyze_hk_stocks.py --no-fetch # use cached, analysis only
```
**HK fallback chain (inside script):**
1. **Tencent** `qt.gtimg.cn/q=r_hk{CODE}` — primary, best coverage
2. **stooq.com** CSV — same-day OHLCV; **caveat**: new IPOs (e.g. 00100) not covered, `prev_close` approximated from `open`
3. **yfinance** — frequently rate-limited, last-resort fallback
**Removed routes (do not retry):**
- ❌ Eastmoney `push2.eastmoney.com` — 502 from this server, removed from chain
- ❌ AAStocks / 富途网页 — anti-scraping, not worth the fight; us