← ClaudeAtlas

hk-stock-analysislisted

Workspace-aware Hong Kong stock analysis for kcn. Routes through scripts/data/analyze_hk_stocks.py (Tencent primary + Eastmoney full-batch independent cross-check/fallback → stooq → yfinance) for price/技术指标/news, layered with HK-specific concepts — 南向资金, HSTECH 方向, 杠杆 ETF 衰减, 老千股警惕, T+0 无涨跌幅. Use when user asks about a HK ticker (e.g. "分析 00100", "07226 怎么样", "恒科今天"), HK book performance, or HK sector view.
KCNyu/clawock · ★ 9 · AI & Automation · score 75
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