factor-backtester SKILL.md skillA

factor-backtester from seaworld008/commonly-used-high-value-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add seaworld008/commonly-used-high-value-skills/factor-backtester@v1.0.1

Pins v1.0.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
seaworld008/commonly-used-high-value-skills
Path
openclaw-skills/factor-backtester/SKILL.md
Versions recorded
4
Latest version
v1.0.1, committed Sep 6, 2026
First version recorded
Mar 18, 2026
Size
6,588 bytes
Repository stars
73
License
MIT

Use when testing factor signals, running long-short spread backtests, checking hit rate and turnover, or sanity-checking whether a ranking signal survives basic transaction cost assumptions.

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

# Factor Backtester (因子回测器)

在投入重金之前,先验证你的因子(Factor)是否真的具备“阿尔法”收益。本技能旨在提供一个轻量级的因子筛选层,帮助量化研究员和投资经理快速验证信号的有效性,并识别那些仅在“理想实验室”中存在的伪因子。

## 安装与前提条件

```bash
# 确保已安装量化回测与数学统计库
pip install pandas numpy matplotlib scipy pyfolio
# 准备回测数据
npx clawhub install factor-backtester
```

## 触发条件 / When to Use

- **新信号研发 (Signal Research)**:验证一个新的财务指标(如:研发投入强度)是否具备长期选股能力。
- **横截面排名测试 (Cross-sectional Ranking Tests)**:对比不同因子在全市场范围内的预测力。
- **投资经理思路验证 (PM Idea Review)**:将宏观直觉转化为可量化的因子回测。
- **深度工程前的筛选 (Lightweight Screening)**:在大规模分布式回测之前,先进行快速的“可行性扫描”。
- **因子失效诊断**:当某个传统因子(如:估值因子)近期表现不佳时,进行历史回看以判断其是否已经永久失效。

## 核心能力 / Core Capabilities

### 1. 信号准备与预处理 (Signal Prep)
- **操作步骤**:
  1. 准备分周期的长端收益(Long Return)、短端收益(Short Return)及基准收益(Benchmark Return)。
  2. 进行数据的去极值处理(Winsorization)和标准化(Z-score)。
  3. 处理缺失值,并标记“可交易性”过滤器(如:剔除停牌、ST 或新股)。
- **最佳实践**:始终保留至少 5-10 年的历史跨度,以覆盖完整的经济周期。

### 2. 核心指标计算 (Metrics Calculation)
- **操作步骤**:
  1. 运行 `scripts/backtest_factor.py`。
  2. 计算 **IC/IR (Information Coefficient)**:衡量预测值与实际收益的相关性。
  3. 计算 **夏普比率 (Sharpe Ratio)**、**最大回撤 (Max Drawdown)** 以及 **胜率 (Hit Rate)**。
  4. 分析 **换手率 (Turnover)** 对最终收益的侵蚀。
- **最佳实践**:除了看总收益,更要看分年度、分行业的收益稳定性。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add seaworld008/commonly-used-high-value-skills/factor-backtester@sha256:83efe2153ff51c7d

The line at the top of this page pins the label v1.0.1, 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_plqafqly6e5ldrgb.svg)](https://markdownregistry.com/a/art_plqafqly6e5ldrgb)

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

Versions

The registry has recorded 4 versions of this file, between Mar 18, 2026 and Sep 6, 2026, about one every 58 days.

versioncommittedcommitsizeaudit
v1.0.1 latest2026-09-06 e36bbe4 6,588 BA view · diff
v1.0.02026-06-29 f17e969 6,597 BA view · diff
v1.0.02026-03-27 0b34652 6,503 BA view · diff
git:20260318.74f70882026-03-18 74f7088 1,259 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 (6588 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

seaworld008/commonly-used-high-value-skills · 73 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_plqafqly6e5ldrgb
GET https://markdownregistry.com/api/v1/resolve?ref=seaworld008/commonly-used-high-value-skills/factor-backtester
GET https://markdownregistry.com/api/v1/blob/83efe2153ff51c7d536ab2859f29f0402070b570933572709eea86dbbe60fe45

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 seaworld008/commonly-used-high-value-skills

AGENTS.md AGENTS.md file
seaworld008/commonly-used-high-value-skills · AGENTS.md
git:20260907.7aad3b0 · audit A · 73 stars
CLAUDE.md CLAUDE.md file
seaworld008/commonly-used-high-value-skills · CLAUDE.md
git:20260907.7aad3b0 · audit A · 73 stars
agent-browser SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-browser/SKILL.md · Use when an agent needs real browser automation for semantic element targeting, form interaction, screenshots…
v1.0.0 · audit A · 73 stars
agent-designer SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-designer/SKILL.md · Design AI agent responsibilities, tools, memory, orchestration, and evaluation when defining an agent architecture or…
v1.0.2 · audit A · 73 stars
CLAUDE.md@openclaw-skills/agent-hub CLAUDE.md file
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-hub/CLAUDE.md
git:20260424.86f3732 · audit A · 73 stars
agent-hub SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-hub/SKILL.md · Compare independent solutions with agent-hub when parallel competition is requested; isolate Git worktrees, evaluate…
v1.0.11 · audit A · 73 stars
agent-workflow-designer SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-workflow-designer/SKILL.md · Design agent orchestration, handoffs, state, recovery, and evaluation when a workflow needs multiple coordinated agents…
v1.1.1 · audit A · 73 stars
agile-product-owner SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agile-product-owner/SKILL.md · Manage product backlogs and sprints: user stories, acceptance criteria, epic breakdown, prioritization, estimates, and…
v1.0.1 · audit A · 73 stars
algorithmic-art SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/algorithmic-art/SKILL.md · Create original generative art with p5.js, seeded randomness, flow fields, particles, and interactive parameters when…
v1.0.1 · audit B · 73 stars
andrej-karpathy-skills SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/andrej-karpathy-skills/SKILL.md · Karpathy-inspired coding discipline for AI agents: think before coding, keep changes simple, edit surgically, and…
v1.0.0 · audit A · 73 stars
api-and-interface-design SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/api-and-interface-design/SKILL.md · Design REST/GraphQL APIs, module interfaces, and type contracts when creating endpoints or changing public boundaries.
v1.0.4 · audit A · 73 stars
api-design-reviewer SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/api-design-reviewer/SKILL.md · Use when reviewing API designs for consistency, usability, versioning, error semantics, security, backward…
v1.0.0 · audit A · 73 stars

Every file in seaworld008/commonly-used-high-value-skills

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