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; batch first, then single-code retry for misses
2. **Eastmoney HK** `push2.eastmoney.com/.../ulist.np/get` (secid prefix 116) — requested for **every ticker** as an independent batch, even when Tencent succeeded. When both succeed, prefer Tencent but compare `c` and `pc`; divergence >1% is stored in `_divergence` and warned on stdout. When Tencent misses, Eastmoney is the fir