Claude Skill
ALAGENT-HKU/x2strategy
x2strategy 是一个开源 Claude Skill,可从量化金融研究论文中提取结构化策略规范,使 AI 代理能够解析并标准化交易策略。
概览
仓库信息
安装这个 Skill
npx clawhub@latest install x2strategyRegistry 信息
npx clawhub@latest install x2strategygit clone https://github.com/ALAGENT-HKU/x2strategy.git ~/.copilot/skills/x2strategygit clone https://github.com/ALAGENT-HKU/x2strategy.git ~/.claude/skills/x2strategygit clone https://github.com/ALAGENT-HKU/x2strategy.git .github/skills/x2strategypip install -e ".[codegen,agent,docx,dev]"
项目简介
x2strategy 是一个开源的 Claude Skill,旨在从量化金融研究论文中提取结构化的策略规范。它使 GitHub Copilot 和 Claude Code 等 AI 代理能够解析学术论文并输出标准化的交易策略定义,从而弥合金融研究与算法实现之间的鸿沟。
Extract structured strategy specifications from quantitative finance research papers — Agent Skill for GitHub Copilot & Claude Code
要点
- 从量化金融论文中提取结构化策略规范
- 输出标准化的交易策略定义
- 作为 Agent Skill 集成到 GitHub Copilot 和 Claude Code
- 使用 Python 构建,实现高效的论文解析
- 开源且由社区驱动开发
使用场景
- 从研究论文中自动提取策略用于回测
- 使 AI 代理能够阅读和解释金融文献
- 标准化交易策略以实现跨平台部署
- 通过结构化输出加速量化研究工作流程
README 摘要
<div align="center"> <img src="assets/alagent_logo.png" alt="ALAGENT Logo" width="120"> # X2Strategy **Any Research Input → Strategy Spec → Executable Code → Backtest → Diagnosis** [](https://python.org) [](LICENSE) [](https://agentskills.io/) []() [](https://docs.litellm.ai/docs/providers) [Getting Started](#-getting-started) · [How It Works](#-how-it-works) · [Examples](#-examples) · [Docs](#-documentation) · [简体中文](README_CN.md) --- *Turn quantitative finance research — papers, drafts, reports, or strategy ideas — into validated, executable trading strategies. Automatically.* </div> ## Highlights - **🔬 Multi-Format Input** — PDF papers, Markdown drafts, DOCX reports, plain text. Auto-detected. - **🧠 5-Layer LLM Extraction** — Multi-strategy detection → indicators → signal logic → execution plan → risk controls. - **🧾 Grounded Extraction Quality** — Optional instruction/customization/clarification context, retrieved repair-time operator-pitfall checks, canonical `portfolio_weights`, and structured `needs_human_review` flags. - **✅ Verified Code Generation** — AST validation + Backtrader structural checks + indicator registry, not just "generate and hope". - **📊 Automated Backtesting** — Execute, extract metrics, and diagnose against paper-reported performance. - **🤖 Agent-Native** — Works as an [Agent Skill](https://agentskills.io/) (`/x2strategy
话题
暂无话题