Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By quantskillsGPL-3.0In 1 marketplace
Supports paper search, data extraction, experiment reproduction, and research-result reporting.
Claude hands work to one, or you mention it with @.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
简体中文 | English
把一篇量化金融论文(arXiv 或本地 PDF),变成一套可运行、可审计的复现实验:检索 → 提取 → 回测 → 图表 → 指标对照,全程框架无关。
paper-replication 是一个面向量化金融论文复现的 Codex/Agent 技能包。它不绑定特定智能体框架——只要目标环境可以读取本目录并运行本地 Python 脚本,就可以完成论文检索、PDF 提取、公式与策略逻辑整理、研究型回测、图表生成和结果打包。
第三方智能体只需要四步:
requirements.txt。/home/coder/project/replication/paper-replication/,不要写回技能目录。flowchart LR
A["🔍 检索/下载论文<br/>search_arxiv.py"] --> B["📑 提取 PDF<br/>extract_paper.py<br/>文本·公式·数据区间·指标"]
B --> C["🧭 明确口径<br/>数据源·信号·组合构建<br/>成本·换仓·指标"]
C --> D["🧪 复现回测<br/>reproduce_paper.py /<br/>run_research.py --pipeline"]
D --> E["✅ 校验与解释<br/>数据非空·日期合理·信号滞后<br/>与论文差异要解释"]
style A fill:#e3f2fd,stroke:#1976d2
style D fill:#fff3e0,stroke:#f57c00
style E fill:#e8f5e9,stroke:#388e3c
python -m pip install -r /path/to/paper-replication/requirements.txt
不要求固定的框架专属安装位置,请使用该技能目录在本机上的真实路径。
python /path/to/paper-replication/scripts/run_research.py \
--pipeline \
--paper-id 2201.06635 \
--symbols rb,if,au \
--strategy tsmom
生成的产物统一放在 /home/coder/project/replication/paper-replication/{paper_id}/,不要写回 skill 目录本身:
/home/coder/project/replication/paper-replication/{paper_id}/
reports/{paper_id}.pdf # 原始论文
reports/extracted_{paper_id}.md # 提取的论文内容
reports/metrics_{strategy}.json # 回测指标
data/equity_{strategy}.csv # 净值曲线
data/weights_{strategy}.csv # 持仓权重
charts/chart_{strategy}.png # 图表
搜索 arXiv:
python /path/to/paper-replication/scripts/search_arxiv.py \
"momentum futures" \
--max 5 \
--download
提取 PDF:
python /path/to/paper-replication/scripts/extract_paper.py \
--pdf /home/coder/project/replication/paper-replication/2201.06635/reports/2201.06635.pdf \
--markdown \
--output /home/coder/project/replication/paper-replication/2201.06635/reports/extracted_2201.06635.md
运行独立复现:
python /path/to/paper-replication/scripts/reproduce_paper.py \
--symbols rb,if,au \
--strategy tsmom \
--start 2020-01-01 \
--end 2024-12-31 \
--output-dir /home/coder/project/replication/paper-replication/2201.06635
| 数据 | 来源 |
|---|---|
| 🇨🇳 中国期货 | akshare.futures_zh_daily_sina |
| 🌍 国际品种 | 需要时使用 yfinance |
| 📂 自定义数据集 | CSV 文件,需包含 date,open,high,low,close,volume 列 |
务必记录:数据源、请求日期范围、实际加载日期范围、最新可用日期,以及任何数据陈旧风险说明。
run_research.py| 参数 | 默认值 | 说明 |
|---|---|---|
--paper-id | - | arXiv 论文 ID,例如 2201.06635 |
--paper | - | arXiv 搜索关键词 |
--pdf | - | 本地 PDF 路径 |
--pipeline | false | 运行完整流程 |
--symbols | rb,if,au | 逗号分隔的交易品种 |
--strategy | tsmom | tsmom、csmom、risk_parity、trend_vol |
--start | 2020-01-01 | 回测开始日期 |
--end | 2024-12-31 | 回测结束日期 |
--target-vol | 0.10 | 年化目标波动率 |
--skip-reproduce | false | 跳过独立回测 |
reproduce_paper.py| 参数 | 默认值 | 说明 |
|---|---|---|
--symbols | rb,if,au | 逗号分隔的交易品种 |
--strategy | tsmom | tsmom、csmom、risk_parity、trend_vol |
--start | 2020-01-01 | 开始日期 |
--end | 2024-12-31 | 结束日期 |
--target-vol | 0.10 | 年化目标波动率 |
--cost | 0.0001 | 交易成本率 |
--capital | 1000000 | 初始资金 |
--output-dir | /home/coder/project/replication/paper-replication | 输出目录 |
本项目使用 GNU General Public License v3.0。详见 LICENSE。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
paper-replication@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin paper-replicationPlugins from other owners that cover similar ground