ALAGENT-HKUALAGENT-HKUOfficialยท1 Agent Skills Included

x2strategy

Turn finance research papers into backtested trading strategies

Converts quantitative finance papers, drafts, and reports into structured strategy specifications and executable Backtrader code. Eliminates manual reading, formula extraction, and error-prone hand-coding of trading logic. Validates generated code, runs backtests automatically, and compares results against paper-reported performance with a diagnosis report.
npx skills add ALAGENT-HKU/x2strategy --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install X2Strategy?โ–ผ

Run `npx skills add ALAGENT-HKU/x2strategy --all -g -y` in your terminal to install the skill globally, then add your LLM API key to the .env file.

How to turn a research paper into trading code?โ–ผ

Attach a PDF, Markdown, DOCX, or text file and ask X2Strategy to analyze it. It extracts the strategy logic, generates validated Backtrader code, runs a backtest, and produces a diagnosis report.

What input formats does X2Strategy support?โ–ผ

It accepts PDF papers, Markdown drafts, Word reports, and plain text files, with the format auto-detected from the file extension.

Does X2Strategy work with Claude Code and VS Code Copilot?โ–ผ

Yes. It follows the open SKILL.md standard and runs as the /x2strategy command in Claude Code, VS Code Copilot, OpenClaw, and other compatible agents.

How much does it cost to analyze one paper?โ–ผ

About $0.1 per paper using DeepSeek, and any LiteLLM-supported model provider such as OpenAI or OpenRouter also works.

Related Repositories in Finance & Accounting

View All in Finance & Accountingโ†’