← 返回 Skills 市场
港股美股分析
作者
gaoren36-arch
· GitHub ↗
· v2.1.0
· MIT-0
482
总下载
1
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install gaoren-stock-analyst-hk-us
功能描述
智能股票分析系统 v2.1 - 港股/美股/A股实时行情 + 富途数据源 + 技术指标 + 综合报告(7大板块)
使用说明 (SKILL.md)
Stock Analyst - 智能股票分析系统 v2.1
简介
智能股票分析助手,支持港股、美股和A股实时行情查询,采用富途(Futu)作为主要数据源,确保数据准确可靠。
数据源说明
港股数据 (推荐)
- 主要数据源: 富途牛牛 (futunn.com)
- 数据特点: 实时准确,经过验证
- URL格式: https://www.futunn.com/stock/{code}-HK
美股数据
- 数据源: Finnhub API
- 备用: 富途牛牛
A股数据
- 数据源: 腾讯财经API
功能特性
1. 实时行情 (富途核实)
- 当前价格、涨跌幅
- 总市值、市盈率
- 52周高低点
- 资金流向
2. 技术指标
- RSI(14)、MACD
- 均线(MA5/10/20)
- 支撑位/阻力位
3. 分析师评级
- 强力推荐/买入/持有/卖出比例
- 目标价(最高/平均/最低)
- 上涨空间计算
4. 综合报告 (7大板块)
- 基本信息
- 实时行情
- 技术指标
- 同类公司对比
- 行业背景
- 综合判断
- 操作建议
支持的股票代码
港股 (5位数代码)
| 股票 | 代码 |
|---|---|
| 波司登 | 03998 |
| 平安好医生 | 01833 |
| 众安在线 | 06060 |
| 京东物流 | 02618 |
| 腾讯 | 00700 |
| 阿里巴巴 | 09988 |
| 美团 | 03690 |
美股 (英文代码)
| 股票 | 代码 |
|---|---|
| 京东 | JD |
| 阿里巴巴 | BABA |
| 特斯拉 | TSLA |
| 苹果 | AAPL |
| 英伟达 | NVDA |
A股 (6位数代码)
| 股票 | 代码 |
|---|---|
| 中国石油 | 601857 |
| 贵州茅台 | 600519 |
| 宁德时代 | 300750 |
| 比亚迪 | 002594 |
使用方式
直接对话分析港股
分析 03998 波司登
查一下01833
分析港股 00700
命令行
python analyze_stock.py 03998
响应示例
=================================================================
波司登 (03998.HK) 全面分析报告
=================================================================
【基本信息】
股票名称: 波司登国际控股有限公司
股票代码: 03998.HK
行业: 服装/羽绒服
【实时行情】
当前价格: HK$4.13
涨跌额: +HK$0.04 (+0.98%)
总市值: HK$482.53亿
市盈率TTM: 12.33
【技术指标】
日涨跌幅: +0.98% (小幅上涨)
距目标价: +39% (HK$5.74)
【同类公司对比】
(服装板块对比数据)
【行业背景】
羽绒服高端化趋势
国产品牌崛起
【综合判断】
分析师: 强力推荐 91.43%
评分: 70/100
【操作建议】
评级: 建议买入
目标价: HK$5.74
止损: HK$3.80
=================================================================
版本历史
- v2.1.0: 新增富途数据源,港股数据准确可靠
- v2.0.0: 整合技术指标和新闻分析
- v1.0.0: 初始版本,支持港股/美股行情查询
安全使用建议
This skill's code mostly matches its description, but the presence of a repeated hardcoded Finnhub API key and undeclared env vars is a red flag. Before installing or running: 1) Ask the author to confirm the legitimacy of the hardcoded API key and remove it from source; provide a documented FINNHUB_API_KEY env var instead. 2) Treat network access to third‑party endpoints (futunn.com, qt.gtimg.cn, finnhub.io, ai.6551.io, longbridgeapi) as expected but review their privacy/usage policies. 3) If you must run it now, run in an isolated environment (container/VM) and avoid exposing any sensitive local credentials. 4) Prefer a version where keys are not embedded and required environment variables are declared in metadata; verify any external API tokens are your own and not someone else’s leaked key.
功能分析
Type: OpenClaw Skill
Name: gaoren-stock-analyst-hk-us
Version: 2.1.0
The skill bundle is a functional stock analysis tool for HK, US, and A-shares, providing real-time quotes, technical indicators (RSI, MACD), and news summaries. It utilizes legitimate financial data sources including Tencent Finance (qt.gtimg.cn), Finnhub, and Futu. While the code contains a hardcoded Finnhub API key (d6nucg1r01qse5qn5e90d6nucg1r01qse5qn5e9g) across multiple files like analyze_stock.py and report_v2.py, and fetches news from a third-party API (ai.6551.io), these appear to be intentional choices for out-of-the-box functionality rather than malicious behavior. No evidence of data exfiltration, unauthorized command execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description match the code: files implement fetching from Tencent (qt.gtimg.cn), Finnhub, and show futu URLs; technical indicator and news modules are present. However the skill includes an embedded Finnhub API key string in many files instead of declaring an environment variable in metadata, which is inconsistent with expected credential handling.
Instruction Scope
SKILL.md and code instruct only to fetch market data, compute indicators, and summarize news. There are no instructions to read arbitrary local files or to exfiltrate system config. The runtime scripts contact multiple external services (qt.gtimg.cn, finnhub.io, ai.6551.io, futunn.com and optional longbridgeapi), which is consistent with a data‑fetching analyzer but expands the network surface.
Install Mechanism
No install spec (instruction-only skill) — the repo contains Python scripts that run with standard dependencies (requests). No remote downloads or archive extraction are present in the manifest. Installation risk is low provided you run code locally and review it first.
Credentials
Metadata declares no required env vars but code uses/accepts credentials: FINNHUB_API_KEY via env is referenced in stock_analyst.py yet multiple files embed a hardcoded token string ('d6nucg1r01qse5q...') directly in source (analyze_stock.py, company_info.py, jd_logistics.py, report_v2.py, test_stock.py, etc.). test_longbridge.py expects LONGBRIDGE_ACCESS_TOKEN in env but this is not documented in metadata. Hardcoded API keys and undeclared environment requirements are disproportionate and inconsistent with the SKILL metadata.
Persistence & Privilege
Skill does not request always:true, does not modify other skills or agent config, and is user‑invocable only. It does perform autonomous network calls when its scripts run, but that is expected for this functionality.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gaoren-stock-analyst-hk-us - 安装完成后,直接呼叫该 Skill 的名称或使用
/gaoren-stock-analyst-hk-us触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
**港股分析能力大升级,新增富途数据源与七大板块报告!**
- 新增富途牛牛(Futu)作为主要数据源,提高港股行情、分析与数据准确性。
- 重大功能扩展:全面综合报告细分为7大板块,包括同类公司对比与行业背景分析。
- 技术指标提升,支持RSI、MACD、均线等多种分析工具。
- 支持分析师评级及目标价、上涨空间等核心量化数据。
- 新增tools/indicator_api.py和tools/news_api.py,拓展数据和分析能力。
- 文档优化,添加README/README_EN,更新使用说明和新特性。
v1.1.0
新增A股支持及多项分析能力。
- 新增对A股实时行情的支持,现覆盖A股、港股、美股
- 增强技术分析,包含支撑/阻力位判断
- 新增综合分析:走势判断、多空力量、风险提示与操作建议
- 更新命令行与示例,A股也可分析
- 更新文档描述及示例,反映最新支持范围
v1.0.0
Initial release: Smart stock analysis assistant for HK and US markets.
- Real-time Hong Kong stock quotes (via Tencent API, no key required)
- Real-time US stock quotes (via Finnhub, optional API key)
- Technical analysis: price range, volume, trend assessment, and more
- Real-time finance news and market sentiment analysis
- Supports direct chat triggers and command line usage
- Covers major HK and US stock codes
元数据
常见问题
港股美股分析 是什么?
智能股票分析系统 v2.1 - 港股/美股/A股实时行情 + 富途数据源 + 技术指标 + 综合报告(7大板块). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 482 次。
如何安装 港股美股分析?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gaoren-stock-analyst-hk-us」即可一键安装,无需额外配置。
港股美股分析 是免费的吗?
是的,港股美股分析 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
港股美股分析 支持哪些平台?
港股美股分析 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 港股美股分析?
由 gaoren36-arch(@gaoren36-arch)开发并维护,当前版本 v2.1.0。
推荐 Skills