AGENTS.mdB

AGENTS.md from qusong0627/quantmind is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add qusong0627/quantmind/AGENTS.md@git:20261021.501dee8

Pins git:20261021.501dee8 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
AGENTS.md file
Repository
qusong0627/quantmind
Path
AGENTS.md
Versions recorded
7
Latest version
git:20261021.501dee8, committed Oct 21, 2026
First version recorded
Sep 24, 2026
Size
11,705 bytes
Repository stars
1,774
License
AGPL-3.0

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

# QuantMind 开发指南(AGENTS.md)

本文件为 AI 编码助手(Claude Code / Codex / QwenPaw 等)在此仓库中工作时提供指导。

## 项目概述

QuantMind 是一个量化交易平台,后端为 Python(FastAPI),前端为 Electron/React/TypeScript。开源版(OSS)采用单容器部署,所有后端服务运行在同一个容器中。

## 后端服务(统一入口 `backend/main_oss.py`)

| 服务 | 端口 | 职责 |
|------|------|------|
| api | 8000 | 用户认证、策略管理、社区 |
| engine | 8001 | Qlib 回测、AI 策略生成、模型推理 |
| trade | 8002 | 订单管理、持仓、风控 |
| stream | 8003 | 实时行情、WebSocket 推送 |

## 常用命令

### 后端
```bash
# 启动全部服务(Docker)
docker-compose up -d

# 本地运行单个服务
SERVICE_MODE=api python backend/main_oss.py

# 测试(在项目根目录执行)
python backend/run_tests.py unit        # 单元测试
python backend/run_tests.py integration # 集成测试
python backend/run_tests.py all         # 全部测试
python backend/run_tests.py trade-long-short  # QMT MVP 链路测试

# 代码检查与格式化
ruff check backend/
ruff format backend/
```

### 前端(Electron 应用,位于 `electron/`)
```bash
npm install              # 安装依赖
npm run dev              # 开发模式(Electron 桌面端)
npm run dev:web          # 开发模式(Web 浏览器)
npm run typecheck        # 类型检查
npm run dashboard:build  # 生产环境构建
```

## 架构要点

- **特征工程**:48 维特征由外部服务写入 `market_data_daily` 表
- **交易服务**:外部报单前强制「本地优先」落库持久化
- **Redis 库分配**:0=通用,1=认证,2=交易,3=行情,4=回测,5=缓存
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qusong0627/quantmind/AGENTS.md@sha256:49e5f8baa1d899cd

The line at the top of this page pins the label git:20261021.501dee8, 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_6auvwsjpsfp2wkhc.svg)](https://markdownregistry.com/a/art_6auvwsjpsfp2wkhc)

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

Versions

The registry has recorded 7 versions of this file, between Sep 24, 2026 and Oct 21, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261021.501dee8 latest2026-10-21 501dee8 11,705 BB view · diff
git:20261021.f6e23ae2026-10-21 f6e23ae 11,697 BB view · diff
git:20261006.e20ba122026-10-06 e20ba12 11,695 BB view · diff
git:20261003.8b2ea6a2026-10-03 8b2ea6a 11,452 BB view · diff
git:20261003.52c5a222026-10-03 52c5a22 11,310 BB view · diff
git:20260925.54e86902026-09-25 54e8690 10,415 BB view · diff
git:20260924.694388a2026-09-24 694388a 10,422 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1)
  • pass: Size between 200 bytes and 200 KB (11705 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 script tag

Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.

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_6auvwsjpsfp2wkhc
GET https://markdownregistry.com/api/v1/resolve?ref=qusong0627/quantmind/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/49e5f8baa1d899cd9c59aae7c706581aa71c6140169e7acaf626da7d53fcbc1c

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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from qusong0627/quantmind

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
market-analysis SKILL.md skill
qusong0627/quantmind · skills/market-analysis/SKILL.md · 市场分析报告(大盘快照版)— 复用市场分析页面全部数据能力:核心指数、市场广度与情绪温度、行业板块/热门概念热力图、行业多日涨跌幅对比(1/3/5日)、板块资金流(1日/5日/10日)、个股主力资金…
git:20261003.8b2ea6a · audit A · 1,774 stars

Every file in qusong0627/quantmind

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261015.0e1f0bf · audit A · 352,890 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 302,424 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261011.412347a · audit A · 284,510 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 193,096 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 170,980 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261011.5d64745 · audit A · 136,966 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 129,649 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars

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