hk-stock-analysis

Solid

Workspace-aware Hong Kong stock analysis for kcn. Routes through clawock analyze-hk (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.

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

# 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 /root/.local/bin/clawock analyze-hk {TICKER} /root/.local/bin/clawock analyze-hk {TICKER} --no-news # skip news /root/.local/bin/clawock analyze-hk --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 first fallback. 3. **stooq.com** CSV — only for tickers still unresolved; same-day OHLCV; **caveat*...

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