akquant SKILL.md skillC

akquant from jerryliu369/awesome-quant-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jerryliu369/awesome-quant-skills/akquant@git:20261012.b5abe77

Pins git:20261012.b5abe77 in mdr.lock. Pin the fingerprint instead.

Audit grade
C, 13 of 17 checks passed
Kind
SKILL.md skill
Repository
jerryliu369/awesome-quant-skills
Path
skills/china-markets/akquant/SKILL.md
Versions recorded
1
Latest version
git:20261012.b5abe77, committed Oct 12, 2026
Size
11,516 bytes
Repository stars
5
License
MIT

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

<!--
  Imported from: https://github.com/lzwme/finance-quant-skills
  Source Path: skills/akquant/SKILL.md
  Curated for awesome-quant-skills
-->

---
name: akquant
description: 生成 akquant 框架的可执行量化策略代码,涵盖数据接口、事件驱动、风控与优化。当用户需要开发量化策略、配置回测环境、设置风控规则、进行参数优化、实现横截面轮动策略,或提及 akquant 时使用
metadata: {"openclaw":{"emoji":"📈","requires":{"bins":["python", "uv"],"os":"win32"}}}
---

# AKQuant 量化策略开发指南

## 任务目标

本 Skill 用于辅助 AI 编程智能体生成符合 akquant 框架规范的可执行量化策略代码。能力包括策略设计、回测配置、订单管理、风控规则、参数优化与横截面策略实现。

## 核心能力清单

- 策略类生成:继承 Strategy 基类,实现生命周期钩子
- 数据接口配置:准备 DataFrame 数据、设置预热期、访问历史数据
- 事件驱动机制:on_bar/on_tick/on_order/on_trade 等回调
- 订单管理:市价单/限价单/目标仓位/OCO/Bracket/Trailing Stop
- 风控规则:持仓限制/回撤熔断/止损阈值/行业集中度
- 参数优化:网格搜索与滚动优化(Walk-Forward)
- 多策略编排:slot 映射与策略级风控

## 触发条件

当用户表达以下意图时触发:
- 开发量化交易策略
- 配置回测环境与参数
- 设置风险控制规则
- 进行参数优化与调优
- 实现横截面或轮动策略
- 排查策略运行错误

## 策略开发工作流

### 阶段一:理解需求

1. 识别策略类型:趋势跟踪、均值回归、横截面轮动、套利等
2. 确定数据需求:时间周期、标的范围、字段要求
3. 明确风控约束:持仓上限、止损止盈、回撤限制

### 阶段二:设计策略结构

参考 [strategy-patterns.md](references/strategy-patterns.md) 选择范式:
- 类风格(推荐):继承 Strategy,封装状态与逻辑
- 函数风格:initialize + on_bar,快速原型

关键决策点:
- 预热期设置:根据指标窗口长度计算
- 历史数据访问:get_history (numpy) 或 get_history_df (DataFrame)
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_iltspeh22i33s5mo/1502f2ff168cc8bf5b5ec22d41e5c8b5cdd0c234a4249d6f7dadf23885c22350.json

Then /plugin install akquant@markdownregistry-iltspeh22i33s5mo in Claude Code. It installs git:20261012.b5abe77, the one graded C here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add jerryliu369/awesome-quant-skills/akquant@sha256:1502f2ff168cc8bf

The line at the top of this page pins the label git:20261012.b5abe77, 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_iltspeh22i33s5mo.svg)](https://markdownregistry.com/a/art_iltspeh22i33s5mo)

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in jerryliu369/awesome-quant-skills/akquant since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of akquant from somewhere else? Ask it: where did my akquant come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Oct 12, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261012.b5abe77 latest2026-10-12 b5abe77 11,516 BC view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

C  13 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Frontmatter block present
  • fail: Frontmatter declares a name
  • fail: Frontmatter declares a description
  • fail: No curl or wget piped into a shell (matched: curl -LsSf https://astral.sh/uv/install.sh | sh)
  • pass: Size between 200 bytes and 200 KB (11516 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 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

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

Source

GitHub

jerryliu369/awesome-quant-skills · 5 stars · license MIT · pushed 2026-11-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iltspeh22i33s5mo
GET https://markdownregistry.com/api/v1/resolve?ref=jerryliu369/awesome-quant-skills/akquant
GET https://markdownregistry.com/api/v1/blob/1502f2ff168cc8bf5b5ec22d41e5c8b5cdd0c234a4249d6f7dadf23885c22350

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 jerryliu369/awesome-quant-skills

llms.txt llms.txt file
jerryliu369/awesome-quant-skills · llms.txt
git:20261113.a314c0c · audit A · 5 stars
alpha-zoo SKILL.md skill
jerryliu369/awesome-quant-skills · skills/alpha-factors/alpha-zoo/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
breadth-chart-analyst SKILL.md skill
jerryliu369/awesome-quant-skills · skills/alpha-factors/breadth-chart-analyst/SKILL.md
git:20261012.18f06f4 · audit C · 5 stars
canslim-screener SKILL.md skill
jerryliu369/awesome-quant-skills · skills/alpha-factors/canslim-screener/SKILL.md
git:20261012.18f06f4 · audit C · 5 stars
factor-mining-pandaai SKILL.md skill
jerryliu369/awesome-quant-skills · skills/alpha-factors/factor-mining-pandaai/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
backtest-review SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/backtest-review/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
backtesting-bias-avoidance SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/backtesting-bias-avoidance/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
data-quality-audit SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/data-quality-audit/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
paper-repro SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/paper-repro/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
pine-backtester SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/pine-backtester/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
stats-test-picker SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/stats-test-picker/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars
vectorbt-backtest SKILL.md skill
jerryliu369/awesome-quant-skills · skills/backtesting-audit/vectorbt-backtest/SKILL.md
git:20261012.b5abe77 · audit C · 5 stars

Every file in jerryliu369/awesome-quant-skills

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