← 返回 Skills 市场
gold3bear

A股雷达

作者 Bear Xiong · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
91
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install a-stock-radar
功能描述
A股综合监控与分析工具。当用户询问「A股今天怎么样」「大盘如何」「哪些板块在动」「今日涨跌」「北向资金」「涨停/跌停」「市场情绪」「龙虎榜」「现在适合上仓位吗」「分析A股」「A股复盘」「当前主线是什么」「A股核心企业」「茅台/宁德时代/比亚迪」「SHIBOR」「LPR」「中美10Y利差」「社融/人民币贷款」「A股...
使用说明 (SKILL.md)

A股雷达 (A-Stock Radar) v2.0

⚠️ 本工具输出包含寒鸦框架决策建议,但所有建议仅供研究参考,不构成任何投资建议。市场有风险,投资需谨慎。

🆕 v2.0 重大升级:寒鸦决策框架

除原有行情监控外,新增交易决策矩阵输出:

寒鸦四维框架

维度 内容
宏观定调 LPR周期、SHIBOR流动性、中美利差、政策发令枪指向
微观验证 机构龙虎榜资金、筹码高低切、ETF异动
情绪水位 涨停/跌停/炸板率/连板高度 → 冰点/分歧/修复/亢奋
风控矩阵 仓位建议、买入板块、卖出板块、量化止损阈值

情绪数据修复(2026-04-29)

⚠️ 已知Bug:akshare的stock_zt_pool_em等函数默认日期为2024年10月,导致涨停数据永远为0。已在sentiment_snapshot.py中修复——所有API调用现已传入当日日期(YYYYMMDD格式)。


a-stock-radar 现在是统一的 A 股入口,内部按四层能力组织:

  1. 实时行情监控
  2. 宏观快照与核心企业
  3. 寒鸦决策框架(含情绪判断)

a-stock-radar 现在是统一的 A 股入口,内部按三层能力组织:

  1. 实时行情监控
  2. 宏观快照与核心企业
  3. 短线情绪判断
  4. 深度量化分析

1. 实时行情监控

适用问题:

  • A股今天怎么样
  • 哪些板块在动
  • 北向资金如何
  • 涨停跌停情况
  • 某只股票现在多少钱

主要脚本:

  • scripts/index_spot.py:主要指数
  • scripts/sector_ranking.py:板块排行
  • scripts/stock_quote.py:个股行情
  • scripts/zt_pool.py:涨停池/跌停池
  • scripts/dashboard.py:综合看盘入口
  • scripts/macro_snapshot.py:SHIBOR、LPR、中美10Y利差、北向、新增人民币贷款
  • scripts/core_companies.py:A股核心企业篮子

主要数据源:

  • 东方财富:板块/排行
  • 新浪财经:指数与个股实时行情
  • akshare:涨跌停池、北向等扩展数据

2. 宏观快照与核心企业

适用问题:

  • A股宏观数据怎么看
  • SHIBOR/LPR 现在是什么水平
  • 中美10Y利差如何
  • 北向资金和融资需求怎么样
  • 茅台/宁德时代/比亚迪现在怎么样
  • 给我看A股核心企业篮子

主要脚本:

  • scripts/macro_snapshot.py
  • scripts/core_companies.py

覆盖维度:

  • SHIBOR(银行间流动性)
  • LPR(贷款市场报价利率)
  • 中美10Y国债利差
  • 北向资金净流入
  • 新增人民币贷款
  • 贵州茅台、宁德时代、比亚迪、招商银行、工商银行、美的集团、中芯国际、立讯精密

3. 短线情绪判断

适用问题:

  • 今天市场情绪怎么样
  • 现在是冰点还是亢奋
  • 适不适合上仓位
  • 短线环境强不强

主要脚本:

  • scripts/sentiment_snapshot.py

核心指标:

  • 涨停家数
  • 跌停家数
  • 炸板率
  • 连板高度

输出内容:

  • 情绪阶段:冰点 / 分歧 / 修复 / 亢奋
  • 仓位建议:空仓 / 轻仓 / 半仓 / 重仓
  • 短线打法建议

4. 深度量化分析

适用问题:

  • 分析A股
  • 做一份A股复盘
  • 当前主线是什么
  • 用量化视角看A股

主要脚本:

  • scripts/quant_analysis.py

分析框架:

  • 宏观流动性
  • 政策主线
  • ETF/龙虎榜/换手结构
  • 情绪与筹码共振

输出内容:

  • 主线判断
  • 择时建议
  • 复盘框架
  • 风险提示

使用原则

  • 只问盘面与行情:优先走 实时行情监控
  • 问仓位与短线环境:优先走 短线情绪判断
  • 问中高层判断与复盘:优先走 深度量化分析

迁移说明

以下旧 skill 已并入本 skill:

  • a-stock-market-sentiment
  • ashare-quant
安全使用建议
This skill appears to do what it says (fetching A‑share market and macro data). Before installing/running: (1) run it in an isolated Python environment (venv/container) and install required packages from PyPI (requests, akshare, pandas, beautifulsoup4, lxml) so missing dependencies don't cause unexpected behavior; (2) review and, if needed, restrict network egress because the scripts fetch data from public finance sites (hq.sinajs.cn, push2.eastmoney.com) and akshare may query other sources; (3) be aware of rate limits and the legality/terms of scraping the target sites; (4) if you require offline/air‑gapped operation or stricter privacy, do not grant external network access; (5) if you want clearer safety, ask the author/maintainer to provide an explicit requirements.txt and an install/usage section in SKILL.md. Overall there are no hidden endpoints or credential exfiltration signs.
能力标签
crypto
能力评估
Purpose & Capability
The name/description (A股监控与分析) matches the code: scripts fetch real‑time quotes, sector rankings, macro snapshots,龙虎榜 and sentiment. The network endpoints used (hq.sinajs.cn, push2.eastmoney.com, akshare-backed sources) are appropriate for the stated functionality.
Instruction Scope
SKILL.md describes routing to the included scripts and the scripts only perform web requests and local data processing; they do not read arbitrary system files, request environment secrets, or post data to unknown third‑party endpoints. All data flows appear limited to fetching market data from known public endpoints or via the akshare library.
Install Mechanism
There is no install spec (lowest install risk), but the package contains Python scripts that require third‑party libraries (requests, akshare, pandas, beautifulsoup4, lxml). These requirements are not declared in SKILL.md/registry metadata. Some scripts (e.g., zt_pool.py) will exit if akshare is missing. You should install these Python dependencies from trusted sources or run in an isolated environment.
Credentials
The skill requests no environment variables, no credentials, and no config paths. That is proportionate for a read‑only market data tool. Note: akshare itself may call various upstream data providers depending on implementation—this is expected but worth reviewing if you need strict network controls.
Persistence & Privilege
always is false and the skill does not modify other skills or system configuration. It runs as standalone scripts and spawns subprocesses only to invoke its own modules (dashboard uses subprocess to call local scripts). No elevated privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install a-stock-radar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /a-stock-radar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
feat: 新增龙虎榜数据模块;fix: 北向资金区分盘中未结算与数据缺失;情绪数据失败时不输出结论;板块错误信息细分原因
v1.0.0
首发:含宏观快照、核心企业、板块排行、情绪指标
元数据
Slug a-stock-radar
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

A股雷达 是什么?

A股综合监控与分析工具。当用户询问「A股今天怎么样」「大盘如何」「哪些板块在动」「今日涨跌」「北向资金」「涨停/跌停」「市场情绪」「龙虎榜」「现在适合上仓位吗」「分析A股」「A股复盘」「当前主线是什么」「A股核心企业」「茅台/宁德时代/比亚迪」「SHIBOR」「LPR」「中美10Y利差」「社融/人民币贷款」「A股... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。

如何安装 A股雷达?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install a-stock-radar」即可一键安装,无需额外配置。

A股雷达 是免费的吗?

是的,A股雷达 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A股雷达 支持哪些平台?

A股雷达 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A股雷达?

由 Bear Xiong(@gold3bear)开发并维护,当前版本 v1.1.0。

💬 留言讨论