quantdb-fields SKILL.md skillA

quantdb-fields from qusong0627/quantmind is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qusong0627/quantmind/quantdb-fields@git:20260919.2eecb38

Pins git:20260919.2eecb38 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qusong0627/quantmind
Path
skills/quantdb-fields/SKILL.md
Versions recorded
5
Latest version
git:20260919.2eecb38, committed Sep 19, 2026
First version recorded
Aug 29, 2026
Size
18,458 bytes
Repository stars
1,774
License
AGPL-3.0

QuantDB 字段单位速查手册 — 全部数据集实测验证的单位、口径与陷阱(个股 volume=股/amount=万元、指数 volume=手、L2原始逐笔 l2_data/tick_data、technical % vs l1 小数、dividend_rate 百分数、PG 前缀 symbol)。用 QuantDB 数据做分析/回测/报告、判断成交量/成交额/股息率/换手率单位、读逐笔委托/成交/十档盘口、排查数据口径不一致时使用。触发词:字段单位、成交量单位、成交额单位、股还是手、万元、股息率、数据口径、L2、逐笔、委托、成交明细、十档盘口、tick_data、wind.

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

> ⚙️ 本技能遵循公共运行环境契约(最高优先级,先于本文其余内容执行):
> 详见 [_shared/env-contract.md](../_shared/env-contract.md),执行前先读它。

# quantdb-fields — QuantDB 字段单位速查手册

> 用 QuantDB 数据做任何分析/回测/报告前**必读**。所有单位均为
> **2026-08 直接读本地 parquet 实测验证**(不是照抄文档)。
> 单位搞错的后果:成交额差 1 万倍、股息率差 100 倍、换手率差 100 倍——
> 分析结论全部作废。

## 一、通用规则(先记这个)

| 规则 | 说明 |
|---|---|
| **个股 OHLC = 元** | 开高低收统一为人民币元(与市值同量纲) |
| **个股成交量 = 股** | A 股 1 手 = 100 股,但 QuantDB 个股 kline 的 `volume` 单位就是**股**,不是手 |
| **个股成交额 = 万元** | `amount = 5828.37` 表示 5828.37 **万元**(约 5828 万),不是元 |
| **指数成交量 = 手** | `index_daily.volume` 单位是**手**(1 手 = 100 股),与个股相反! |
| **市值 = 元** | valuation 的 `total_mv/float_mv` 单位是**元**(工业富联 float_mv ≈ 1.31 万亿) |
| **比例字段 ≈ 小数或 %** | 没有统一约定,按数据集查下表;% 的字段值 = 百分数(4.06 即 4.06%) |
| **symbol 格式按数据源分** | parquet 用**后缀** `601138.SH`;PG 的 `stock_daily_latest` 用**前缀** `SH601138` |
| **验证公式** | 个股 `close*volume/amount ≈ 1e4`(股+万元);指数 ≈ 2e4(手+万元) |

## 二、1_kline_data 日线(daily_forward / daily_backward / daily_unadjusted)

| 字段 | 单位 | 实测依据 |
|---|---|---|
| `volume` | **股** | 601138 20260814 volume=4704920 股,amount=5828.37 万元,close*volume/amount≈1e4 |
| `amount` | **万元** | 同上(close 66.19 × 470 万股 ≈ 3.1 亿 ≈ 31163 万元,与 amount 同量级吻合) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qusong0627/quantmind/quantdb-fields@sha256:0a05f1b7ade0f822

The line at the top of this page pins the label git:20260919.2eecb38, 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_cjtib6ict7pwag3l.svg)](https://markdownregistry.com/a/art_cjtib6ict7pwag3l)

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

Versions

The registry has recorded 5 versions of this file, between Aug 29, 2026 and Sep 19, 2026, about one every 5 days. Its first recorded version is graded B and its latest A.

versioncommittedcommitsizeaudit
git:20260919.2eecb38 latest2026-09-19 2eecb38 18,458 BA view · diff
git:20260919.a5c80062026-09-19 a5c8006 18,825 BA view · diff
git:20260919.401b4a82026-09-19 401b4a8 20,662 BB view · diff
git:20260913.f0473122026-09-13 f047312 20,359 BB view · diff
git:20260829.c9fd96c2026-08-29 c9fd96c 18,361 BB 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 (18458 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

qusong0627/quantmind · 1,774 stars · license AGPL-3.0 · pushed 2026-10-22 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_cjtib6ict7pwag3l
GET https://markdownregistry.com/api/v1/resolve?ref=qusong0627/quantmind/quantdb-fields
GET https://markdownregistry.com/api/v1/blob/0a05f1b7ade0f822bc4e46883d63db7d806c7b6e2ca3283011a1416cfde1f681

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 qusong0627/quantmind

AGENTS.md AGENTS.md file
qusong0627/quantmind · AGENTS.md
git:20261021.501dee8 · audit B · 1,774 stars
CLAUDE.md CLAUDE.md file
qusong0627/quantmind · CLAUDE.md
git:20261003.8b2ea6a · audit A · 1,774 stars
AGENTS.md@config/qwenpaw AGENTS.md file
qusong0627/quantmind · config/qwenpaw/AGENTS.md
git:20261003.8b2ea6a · audit A · 1,774 stars
AGENTS.md@rd-agent/rdagent/scenarios/rl/autorl_bench/agents/claude AGENTS.md file
qusong0627/quantmind · rd-agent/rdagent/scenarios/rl/autorl_bench/agents/claude/AGENTS.md
git:20260605.d7f99db · audit A · 1,774 stars
AGENTS.md@rd-agent/rdagent/scenarios/rl/autorl_bench/agents/codex AGENTS.md file
qusong0627/quantmind · rd-agent/rdagent/scenarios/rl/autorl_bench/agents/codex/AGENTS.md
git:20260605.d7f99db · audit A · 1,774 stars
AGENTS.md@rd-agent/rdagent/scenarios/rl/autorl_bench/agents/gemini AGENTS.md file
qusong0627/quantmind · rd-agent/rdagent/scenarios/rl/autorl_bench/agents/gemini/AGENTS.md
git:20260605.d7f99db · audit A · 1,774 stars
ai-ide-strategy-writing SKILL.md skill
qusong0627/quantmind · skills/ai-ide-strategy-writing/SKILL.md · AI-IDE 写策略与执行 — 用 AI 生成 Qlib 量化策略代码、Docker 容器执行策略/回测、自然语言条件选股、策略落库。在 QuantBot / Claude Code 中让 AI 写策略、生成 Qlib…
git:20260919.a5c8006 · audit B · 1,774 stars
backtest-center SKILL.md skill
qusong0627/quantmind · skills/backtest-center/SKILL.md · 回测中心 — 快速回测、专家模式、回测历史、策略对比、参数优化、策略管理、高级分析。在 QuantBot / Claude Code 中运行 Qlib…
git:20260919.a5c8006 · audit B · 1,774 stars
batch-inference-analysis SKILL.md skill
qusong0627/quantmind · skills/batch-inference-analysis/SKILL.md · 批量推理结果分析 — 用 QuantMind 选股策略方法论分析每日信号、行业轮动、个股分数区间、负分参考。在 QuantBot / Claude Code…
git:20260919.a5c8006 · audit B · 1,774 stars
daily-review SKILL.md skill
qusong0627/quantmind · skills/daily-review/SKILL.md · A股每日复盘(专业版)— 基于 QuantDB 本地数据 + 当日新闻情绪 + 模型推理信号 + L1/L2 因子截面 + 板块资金流的盘后复盘:指数、涨跌结构与涨停梯队、量能、行业/概念轮动、资金面、L2…
git:20261003.8b2ea6a · audit A · 1,774 stars
futuapi SKILL.md skill
qusong0627/quantmind · skills/futuapi/SKILL.md · 富途 OpenAPI 交易与行情助手。查询行情、K线、报价、快照、买卖盘、逐笔成交、分时数据;搜索标的与资讯;解析期权代码、查询期权链/到期日/IV/行权概率;执行买入/卖出/下单/撤单/改单;查询持仓/资金/账户/订单;订阅实时推送;加密…
v0.1.1 · audit A · 1,774 stars
install-futu-opend SKILL.md skill
qusong0627/quantmind · skills/install-futu-opend/SKILL.md · Futu OpenD 安装助手。自动下载安装Futu OpenD 并升级 Python SDK。支持 Windows、MacOS、Linux。用户提到安装、下载、启动、运行、配置 OpenD、开发环境、升级 SDK、futu-api…
v0.1.1 · audit A · 1,774 stars

Every file in qusong0627/quantmind

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