a-share-data SKILL.md skillA

a-share-data from shouldnotappearcalm/a-share-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shouldnotappearcalm/a-share-skill/a-share-data@git:20261011.8874bd1

Pins git:20261011.8874bd1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shouldnotappearcalm/a-share-skill
Path
a-share-data/SKILL.md
Versions recorded
6
Latest version
git:20261011.8874bd1, committed Oct 11, 2026
First version recorded
Apr 10, 2026
Size
8,657 bytes
Repository stars
249
License
MIT

查询A股行情、历史K线与复权、财务指标、公司新闻公告、概念及入选依据、行业分类与成分、解禁、回购、股东增减持、涨停炸板详情、龙虎榜席位、板块热力图、指数、宏观及A+H上市信息。用于股票数据查询、原始数据测试和数据源异常排查。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# A股数据查询

## 使用方式

从本技能的 `scripts/` 调用取数程序,先按下表选择入口,再按需读取对应参考。代码、依赖和参考文件均随本技能目录安装。

```bash
SKILL_DIR="<本技能安装目录的绝对路径>"
cd "$SKILL_DIR"
python3 -m pip install akshare MyTT pandas numpy requests beautifulsoup4
```

Python 3.9+;仅查询公司资讯时只需 requests;新增概念/公司事件/池详情/席位只需 requests,概念的同花顺解析另需 beautifulsoup4。以下示例均从技能根目录执行。

## 功能与脚本路由

| 用户要查什么 | 入口 | 何时阅读参考 |
|---|---|---|
| 单票/批量报价、分钟线、大盘指数、龙虎榜、涨跌停、资金流 | `scripts/fetch_realtime.py` | 参数见 [API参考](references/api-reference.md) |
| 历史K线、复权选择、分红、交易日历、指数成分、业绩预告/快报、宏观 | `scripts/fetch_history.py` | 普通参数见 [API参考](references/api-reference.md);复权与缓存见 [数据口径](references/data-contracts.md) |
| 综合或单项财务指标、某日之前已公告的指标 | `scripts/fetch_history.py` | 先读 [财务日期口径](references/data-contracts.md#财务指标与公告日期) |
| MA、MACD、KDJ、RSI、BOLL等技术指标 | `scripts/fetch_technical.py` | [API参考](references/api-reference.md) |
| 某公司最近新闻/公告、近7天发生什么 | `scripts/fetch_company_news.py` | [公司资讯](references/company-news.md);优先于全市场业绩或舆情入口 |
| 公司有哪些概念、为何入选、同花顺常规/新兴/其他概念 | `scripts/fetch_stock_concepts.py` | 先读 [概念与重点数据说明](references/reference-data.md#公司概念与入选依据);保留供应商依据原文 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shouldnotappearcalm/a-share-skill/a-share-data@sha256:c17dbcd2e0850ea0

The line at the top of this page pins the label git:20261011.8874bd1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7kr24h7sfswdsjtt.svg)](https://markdownregistry.com/a/art_7kr24h7sfswdsjtt)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Apr 10, 2026 and Oct 11, 2026, about one every 37 days.

versioncommittedcommitsizeaudit
git:20261011.8874bd1 latest2026-10-11 8874bd1 8,657 BA view · diff
git:20261011.f1452732026-10-11 f145273 6,356 BA view · diff
git:20261011.914ee842026-10-11 914ee84 11,663 BA view · diff
git:20260616.fb306572026-06-16 fb30657 8,208 BA view · diff
git:20260605.a77b5342026-06-05 a77b534 6,476 BA view · diff
git:20260410.ed0a77f2026-04-10 ed0a77f 6,346 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8657 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

shouldnotappearcalm/a-share-skill · 249 stars · license MIT · pushed 2026-10-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7kr24h7sfswdsjtt
GET https://markdownregistry.com/api/v1/resolve?ref=shouldnotappearcalm/a-share-skill/a-share-data
GET https://markdownregistry.com/api/v1/blob/c17dbcd2e0850ea0db3087462cd575815952ef08acbb8258a07d697594c21dc3

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from shouldnotappearcalm/a-share-skill

a-share-paper-trading SKILL.md skill
shouldnotappearcalm/a-share-skill · a-share-paper-trading/SKILL.md · A股模拟盘交易与回测技能。Use when 用户要启动模拟仓服务、创建多账户、下限价单/市价单、撤单、查询持仓资金、验证涨跌停成交逻辑或运行A股回测。
git:20260516.34e5cb4 · audit B · 249 stars
a-share-strategy-allmarket-multi-swing-defensive SKILL.md skill
shouldnotappearcalm/a-share-skill · a-share-strategy-allmarket-multi-swing-defensive/SKILL.md · A 股全市场高流动性池内按趋势回踩(trend_pullback)产出买入候选与持仓卖出信号;另有 realtime_quotes 批量拉取现价快照。供下单前决策;不跑回测、不自动下单。Use when…
git:20260928.4f3e948 · audit A · 249 stars
a-share-strategy-mainboard-multi-swing-defensive SKILL.md skill
shouldnotappearcalm/a-share-skill · a-share-strategy-mainboard-multi-swing-defensive/SKILL.md · A 股主板流动性池内按趋势回踩(trend_pullback)产出买入候选与持仓卖出信号;另有 realtime_quotes 批量拉取现价快照。供下单前决策;不跑回测、不自动下单。Use when…
git:20260928.4f3e948 · audit A · 249 stars
macd-second-golden-cross SKILL.md skill
shouldnotappearcalm/a-share-skill · macd-second-golden-cross/SKILL.md · A股“MACD底背离 + 零轴下二次金叉”实战分析与交易执行技能。用于把用户的盘感描述转成可执行的三档决策(上观察名单/可试错出手/必须放弃)、盘中检查单、入场与风控规则。适用于用户提到“二次金叉”“水下二次金叉”“底背离”“第一脚第二脚”…
git:20260415.a0bd3aa · audit A · 249 stars
macd-trend-resonance-stock-picker SKILL.md skill
shouldnotappearcalm/a-share-skill · macd-trend-resonance-stock-picker/SKILL.md · 基于“均线定方向,MACD定节奏”的A股选股与交易计划技能。Use when 用户要求把均线与MACD结合做选股、筛票、盘前候选池、趋势跟随、回踩再上、金叉确认、顶背离减仓、或希望把技术判断沉淀成可执行规则与风控模板。
git:20260415.5dd22f3 · audit A · 249 stars
tuige-shortline-trading SKILL.md skill
shouldnotappearcalm/a-share-skill · tuige-shortline-trading/SKILL.md · 基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。
git:20260618.0a0582c · audit A · 249 stars

Every file in shouldnotappearcalm/a-share-skill

Browse by kind, by grade A, or by owner.