qka SKILL.md skillA
qka from zsrl/qka is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zsrl/qka/qka@git:20260916.c6d6560Pins git:20260916.c6d6560 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zsrl/qka
- Path
skills/qka/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260916.c6d6560, committed Sep 16, 2026
- First version recorded
- Jul 12, 2026
- Size
- 2,132 bytes
- Repository stars
- 114
- License
- MIT
使用 QKA(快量化)框架生成 A 股量化回测策略、选股和技术指标代码。当需要基于 qka.Data、qka.Strategy、qka.Backtest、qka.Broker 等 API 编写量化代码时使用此技能。.
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
# QKA 框架 简洁易用的 A 股量化回测框架,共七个公开类: | 类 | 全限定名 | 作用 | |-----|------|------| | Data | `qka.Data` | 行情数据加载 + 指标预计算 | | Simulate | `qka.Simulate` | 模拟标的 — 描述一只由 qka 现场生成的行情 | | Strategy | `qka.Strategy` | 策略基类 — 实现 `on_bar` 做交易决策 | | Broker | `qka.Broker` | 虚拟券商 — 执行买卖,管理资金和持仓 | | SizingAccessor | `qka.SizingAccessor` | 仓位计算 — 四种仓位方法 | | Backtest | `qka.Backtest` | 回测引擎 — 串联 Data 和 Strategy,注入基础设施 | | Analysis | `qka.Analysis` | 分析模块 — 常用的分析方法 | ## 参考文档 详细 API 文档按模块拆分在 `references/` 目录下,按需查阅对应文件: | 模块 | 文件 | 内容 | |------|------|------| | Data | `references/data.md` | 数据加载、指标预计算(ta 库全部指标 + qka 内置指标)、`get()` | | Simulate | `references/data.md` | 模拟标的:`Simulate(symbol, drift, reversion, vol)`,放进 `Data(symbols=[...])` | | Strategy | `references/strategy.md` | 策略基类、`on_bar`、`self.get()`、`self.history()` | | Backtest | `references/backtest.md` | `run()`、`bt.metrics`、`bt.results`、`bt.trade_history` | | Broker | `references/broker.md` | `buy()`、`sell()` | | SizingAccessor | `references/sizing.md` | 四种仓位方法 | | Analysis | `references/analysis.md` | `zigzag()`、`alpha_beta()`、`sharpe_ratio()`、`max_drawdown()`、`information_ratio()` | ## 使用指南 …
Read the whole file at its exact version.
How to install
mdr add zsrl/qka/qka@sha256:95d75dfc9bc6674cThe line at the top of this page pins the label git:20260916.c6d6560, 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.
[](https://markdownregistry.com/a/art_ffuo2ydrl75qgf3m)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 12, 2026 and Sep 16, 2026, about one every 16 days. Its first recorded version is graded C and its latest A.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.c6d6560 latest | 2026-09-16 | c6d6560 | 2,132 B | A | view · diff |
| git:20260818.f0b9863 | 2026-08-18 | f0b9863 | 1,915 B | A | view · diff |
| git:20260806.d9a46a9 | 2026-08-06 | d9a46a9 | 28,088 B | C | view · diff |
| git:20260728.3cb41f6 | 2026-07-28 | 3cb41f6 | 20,792 B | C | view · diff |
| git:20260712.9856a67 | 2026-07-12 | 9856a67 | 20,773 B | C | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2132 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
zsrl/qka · 114 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ffuo2ydrl75qgf3m GET https://markdownregistry.com/api/v1/resolve?ref=zsrl/qka/qka GET https://markdownregistry.com/api/v1/blob/95d75dfc9bc6674c78241973fc807571de12707459df4f880bd49623d4e36efc
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.