zuoa avatar

Stock Sector Monitoring

This monitors China A-share concept sectors and Dragon Tiger List data through Tushare, then outputs structured markdown reports with sector analysis and top movers. It automatically filters out ST stocks, pulls daily trading anomalies, and crucially, cross-references sector movements with recent news to explain what's actually driving the price action. The workflow is opinionated: every run must include news correlation, use mobile-friendly short explanations in tables, and generate social media ready titles instead of generic "daily report" headers. Reports save to markdown and optionally post to WeChat Official Accounts. Best for anyone running systematic A-share monitoring who needs publication-ready analysis, not just raw data dumps.

skills.sh installs
636
GitHub stars
2
last updated
Aug 21, 2026

Install

$ npx -y skills add zuoa/aj-skills --skill stock-sector-monitoring --agent claude-code

Installs into .claude/skills of the current project.

Files

Stock Sector Monitoring Skill

用于基于 Tushare 的 A 股市场监测,重点支持:

  • 概念板块监测(sector)
  • 龙虎榜每日明细(lhb,top_list / doc_id=106)
  • 将结果输出并保存为 Markdown 文件

When to Use

当用户出现以下意图时使用本 skill:

  • “监控概念板块/行业热度/涨幅榜”
  • “查询龙虎榜数据”
  • “过滤 ST 股票后输出结果”
  • “把监控结果保存成 markdown/md 文件”

Prerequisites

在 skill 根目录执行:

cd /Users/yujian/Code/py/aj-skills/skills/stock-sector-monitoring

依赖准备:

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -U pip
python3 -m pip install tushare pandas

Tushare token 约定从 ~/.aj-skills/.env 读取:

# ~/.aj-skills/.env
TUSHARE_TOKEN=your_token

Core Workflow

1) 采集龙虎榜数据(默认推荐)

source .venv/bin/activate
python3 scripts/sector-monitoring.py \
  --once \
  --data-source lhb \
  --trade-date 20260213 \
  --top 20 \
  --format json

说明:

  • --data-source lhb 使用龙虎榜接口(top_list)
  • --trade-date YYYYMMDD 指定交易日,默认是当天
  • 当前脚本已内置过滤 ST / ST / SST / SST 股票

2) 板块异动+新闻联动分析(必须)

每次执行都必须完成该分析,不需要用户额外提问;完成分析后才可生成对应报告。

Step 1: 识别异动板块
从板块监测数据中提取涨幅前 N 的板块。

Step 2: 搜索相关新闻
针对异动板块,搜索近期新闻:

  • 行业政策变化
  • 价格/供需变化
  • 龙头公司动态
  • 国际市场影响

Step 3: 形成异动原因结论
整合板块数据 + 新闻,产出可写入报告的异动原因分析结论。

3) 生成 Markdown 报告

Sponsors

Details

Repository
github.com/zuoa/aj-skills
Categories
DevOps & CI/CD, Documentation, Finance & Trading
First seen
May 16, 2026
1josiahsiegel avatardocker-security-guidejosiahsiegel/claude-plugin-marketplaceComprehensive Docker security guidelines and threat mitigation. PROACTIVELY activate for: (1) container security review, (2) running as non-root user, (3) read-619skills.sh installs
2jamditis avatarpage-monitoringjamditis/claude-skills-journalismWeb page monitoring, change detection, and availability tracking. Use when tracking content changes, detecting when pages go down, monitoring for updates, prese616skills.sh installs
3aradotso avatarmarketing-pipeline-ai-contentaradotso/marketing-skillsmarketing pipeline ai content607skills.sh installs
4aradotso avatarpennydinh-marketing-pipeline-automationaradotso/marketing-skillspennydinh marketing pipeline automation598skills.sh installs
5googleworkspace avatarrecipe-deploy-apps-scriptgoogleworkspace/cliPush local files to a Google Apps Script project.596skills.sh installs
6wanshuiyin avatarresearch-pipelinewanshuiyin/auto-claude-code-research-in-sleepFull end-to-end research pipeline: from a broad research direction through idea discovery, experiments, and review all the way to a polished paper PDF. Use when594skills.sh installs