pool-monitor
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pool-monitor" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6d06a76602f1a0cc59a5913463ab164a24c99599633227668f6f555142cec747. Verify the upstream source and version against https://skillhub.cn/skills/user_116e35b6/yiweng before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A‑share stock-pool intraday anomaly monitor: reads a user-defined stock pool and scans each ticker via a real-time market-data API to detect six signal types—sharp rises/falls, volume surges, high turnover, intraday anomalies, position P&L, etc. Supports custom thresholds and dual scans (e.g., 10:00 and 14:00) and outputs alert reports with a visual alert dashboard.
Introduction source: third_party · user_116e35b6 · 2.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: pool-monitor
description: A股股票池盘中异动监控——读取用户自定义股票池,通过实时行情API逐只扫描,检测急涨急跌/放量/高换手/盘中异动/持仓盈亏6类信号,生成告警报告。支持自定义阈值、双次扫描(10:00/14:00),输出可视化告警面板。
version: 2.0.0
origin: custom
display_name: "股票池异动监控"
display_name_en: "Stock Pool Intraday Monitor"
description_zh: "盘中实时监控自选股票池,检测急涨急跌、放量、高换手、盘中异动、持仓盈亏,生成可视化告警报告。零依赖纯标准库,进度实时播报,错误中文引导。"
description_en: "Intraday stock pool monitor: detect surge/plunge, volume spikes, high turnover, intraday moves, position P&L alerts with visual dashboard. Zero-dependency pure stdlib."
visibility: "public"
category: "金融"
tags:
- 监控
- 异动
- A股
- 股票池
- 盘中
trigger_keywords:
- 盘中监控
- 股票池监控
- 异动扫描
- pool monitor
- 检查异动
- 股票扫描股票池盘中异动监控 — Pool Monitor v2.0
📌 本文档同时是 AI 助手的执行手册。一切命令由助手后台代跑,用户只需说需求。
快速开始
本 Skill 零依赖(纯 Python 标准库),安装即用。首次使用需 neodata Token(自动缓存 12h):
python pool_monitor.py me # 连通性自检
python pool_monitor.py scan --check-time 10:00 # 10:00扫描
python pool_monitor.py scan --check-time 14:00 # 14:00扫描
python pool_monitor.py report --date 2026-07-25 --time 10:00 # 生成HTML面板
三大功能
🔍 盘中扫描
- 输入:无需输入,自动读取
unified_stock_pool.json中 active 个股 - 输出:实时进度播报(百分比+阶段)→ 告警JSON + 记忆日志追加 + stdout汇总
- 使用示例(用户可以这样说):
- 「盘中监控」
- 「异动扫描 14:00」
- 「检查异动 涨跌阈值改8%」
- 用户得到:进度条实时推进 → 异动个股逐条列出 → 告警JSON绝对全路径
📊 可视化面板
- 输入:已有告警JSON文件
- 输出:深色主题 HTML 告警面板(按级别分组卡片 + 统计仪表)
- 使用示例:
- 「生成今天10点的异动报告」
- 「把昨天的告警做成HTML面板」
- 用户得到:HTML面板绝对全路径,可离线打开
⚙️ 阈值管理
- 输入:
thresholds子命令查看/修改 - 输出:当前阈值配置 / 修改确认
- 使用示例:
- 「修改异动阈值 急涨改8%」
- 「查看当前监控阈值」
- 用户得到:阈值已更新确认
6类异动检测
| 类型 | 触发条件 | 级别 | 置信度 |
|---|---|---|---|
| 急涨 | 涨超 +5% | 🔴 red | 高(实时行情) |
| 急跌 | 跌超 -5% | 🔴 red | 高 |
| 放量 | 量比 > 2 | 🟠 orange | 中(依赖历史均值) |
| 高换手 | 换手率 > 15% | 🟠 orange | 高 |
| 盘中急拉/急跌 | 开盘→现价 > 3% | 🔴 red | 高 |
| 5日趋势 | 5日累计 > 15% | 🟡 yellow | 中 |
| 持仓异动 | 相对入池价 > 5% | 🔴/🟠 | 高 |
错误码速查
| 错误码 | 含义 | exit code |
|---|---|---|
| token_missing | Token 未缓存,需先触发 neodata 查询 | 3 |
| token_expired | Token 过期,需刷新 | 3 |
| pool_not_found | 股票池文件不存在 | 2 |
| pool_empty | 无 active 个股 | 0 |
| all_queries_failed | 全部查询失败 | 4 |
输出产物
| 产物 | 路径 | 何时生成 |
|---|---|---|
| 告警 JSON | {ALERT_DIR}/{DATE}_{HHMM}.json |
有异动时 |
| 告警 HTML | 按需 | 用户要求时 |
| 记忆日志 | 自动追加到 .workbuddy/memory/{DATE}.md |
有异动时 |
配置
凭证/路径优先级:环境变量 > config.json > 默认值
| 环境变量 | 用途 | 默认值 |
|---|---|---|
| CLAW_ROOT | 工作区根目录 | ~/WorkBuddy/work/Claw |
| POOL_MONITOR_POOL_PATH | 股票池JSON路径 | {CLAW_ROOT}/data/unified_stock_pool.json |
| POOL_MONITOR_ALERT_DIR | 告警输出目录 | {CLAW_ROOT}/data/stock_pool/alerts/ |
| POOL_MONITOR_THRESHOLDS | 阈值JSON字符串 | 默认阈值 |
版本历史
| 版本 | 日期 | 变更 |
|---|---|---|
| 2.0.0 | 2026-07-25 | 工程化升级:统一CLI入口(scan/me/thresholds/report)、错误码中文引导、凭证三级回退、进度百分比播报、版本自检、stdout结构化JSON输出、HTML报告内置 |
| 1.5.0 | 2026-07-17 | 能力边界前置+FAQ+超时重试+输出精确定义 |
| 1.0.0 | 2026-07-17 | 初始版本 |
免责声明
本技能仅提供异动检测和告警通知,不构成买卖建议。所有阈值可自定义,用户自行承担交易决策风险。
Current listing version
2.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决 A 股盘中异动监控高频刚需,功能实用性强
- 支持自定义阈值与双次扫描,灵活适配用户需求
Highlights
- 触发词覆盖合理,边界清晰,无明显歧义
Highlights
- 文档结构清晰,Phase/步骤完整,含端到端示例
Highlights
- 工具来源明确,异常处理完善,凭证三级回退机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.