strategy-dev-manager
它能做什么
这项技能指导从学术论文或研究报告到可用交易因子的完整路径。适合希望有一个可跟踪、可重复流程的量化研究人员。
适用场景
- ✓当你手上有一篇研究论文,并希望把其中的思路转化为可测试因子的时候。
- ✓当你想回测一个策略,并检查它是否通过统计阈值的时候。
- ✓当你想监控现有因子,看其表现是否在衰减的时候。
技能链接
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/strategy-dev-manager/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请采用这篇动量研究论文,提取其中的因子,并在 A 股上进行回测。”
每周 5 个新技能,1 分钟读完。
工作原理
它会经历五个阶段:导入论文、提取因子、实现并回测、评估结果,以及监控衰减。每一步都会被保存,以便之后跟踪。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Strategy Development Manager
Purpose
SDM orchestrates the full lifecycle from academic paper or research report to validated factor or strategy. It ingests documents, extracts quantitative signals, implements and backtests them through the existing tool chain, evaluates results against statistical thresholds, and monitors long-term decay. SDM does not reinvent any step. It delegates to the tools already available (read_document, factor_analysis, backtest, alpha_bench, and the hypothesis/autopilot stack) and adds a thin coordination layer with persistent artifact tracking.
Use this skill whenever a user wants to go from "here is a paper" to "I have a working, monitored factor or strategy in the system."
When to Use
Decision tree for routing user requests:
- User provides a paper or report path → Phase 1: INGEST
- User says "extract factors from this paper" → Phase 2: EXTRACT
- User says "implement and backtest" or "run the backtest" → Phase 3: IMPLEMENT
- User says "evaluate results" or "check if it works" → Phase 4: EVALUATE
- User says "check decay" or "monitor factors" → Phase 5: MONITOR
- User says "disable factor" →
sdm_status(action="disable", artifact_id=...) - User says "enable factor" →
sdm_status(action="enable", artifact_id=...) - User says "list my factors" or "show status" →
sdm_status(action="list")
When the user's intent spans multiple phases (for example "read this paper and build a factor"), run the phases sequentially from INGEST through EVALUATE.
Workflow
Phase 1: INGEST
Parse the source document and classify its content.
- Call
read_document(paper_path)to extract the full text from the PDF or report. - Classify the paper type:
- factor-research: the paper proposes one or more cross-sectional factors with formulas (for example Jegadeesh and Titman 1993, Fama-French 1993)
- strategy: the paper describes entry/exit rules, position sizing, and risk management (for example Avramov and Chordia 2006, turtle trading)
- mixed: the paper contains both factor definitions and strategy rules
- Extract key information from the parsed text:
- Methodology description
- Mathematical formulas (preserve LaTeX notation)
- Variable definitions and data requirements
- Universe and time period studied
- Performance metrics reported in the paper
Phase 2: EXTRACT
Turn the parsed content into structured artifact definitions.
For factors, extract:
name: short identifier (for example "momentum_12_1")formula_latex: the mathematical formula as written in the papervariables: list of input variables and their meaningscolumns_required: OHLCV columns or fundamental fields neededuniverse: target market (for example "equity_us", "equity_cn")decay_horizon: recommended holding period in trading days
For strategies, extract:
name: short identifierentry_rules: conditions that trigger a long or short positionexit_rules: conditions that close a positionposition_sizing: how to allocate capital across selected instrumentsrisk_management: stop-loss, max drawdown, exposure limitsuniverse: target marketcolumns_required: data fields needed
Deduplication check: call
alpha_benchor checksdm_status(action="list")to see if a similar artifact already exists. If the Pearson IC between the new factor and an existing alpha exceeds 0.99, treat it as a duplicate and stop. IC between 0.90 and 0.99 may be a variant worth keeping with a note.Register the artifact: call
sdm_register(artifact_type, name, universe, ...)to persist the extracted definition with status "extracted".
OCR Quality Check
After ingesting a paper via read_document, check the ocr_quality field in the response:
quality_flag == "good": proceed with extractionquality_flag == "degraded": warn user that some pages could not be OCR'd, suggest manual reviewquality_flag == "no_ocr_engine": suggest installing an OCR engine —pip install rapidocr_onnxruntimefor local, or setVIBE_TRADING_OCR_ENGINE=llm-visionto use a vision-capable LLM model (GPT-4o, Qwen-VL, etc.) via your existing provider configtext_density < 100: flag as potentially low-quality extraction, suggest verifying formulas manually
Phase 3: IMPLEMENT
Build the SignalEngine, run the backtest, and link results.
- Call `create_hypothesis(title, thesis, un
常见问题
什么是因子衰减?
因子衰减指之前有效的信号随时间失去优势,技能会对此进行监控。
我可以停用某个因子吗?
可以。你可以通过状态命令停用或启用已保存的因子。
它自己运行回测吗?
它使用现有的回测和因子工具,而不是自己构建,并在其外围增加跟踪功能。
详情
作者的原始描述
Strategy Development Manager: convert academic papers and research reports into validated factors and strategies with automated backtesting, persistent storage, and decay monitoring.
repo: HKUDS/Vibe-Trading
热度
- GitHub 星标
- 37k
- 排名
- #7556
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …