Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
This skill reads quantitative finance research papers, extracts structured trading strategy specifications, and generates executable Backtrader code with full backtest diagnostics. It helps quantitative researchers and algorithmic trading developers move from academic papers to testable implementations without manual translation of strategies, indicators, and logic. The pipeline includes validation against the original paper's reported metrics.
Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.
An LLM API key for strategy extraction and code generation
Paste the following into the OpenClaw agent session:
Install the skill "X2strategy" (patrick-lew/x2strategy) from ClawHub.
Skill page: https://clawhub.ai/patrick-lew/x2strategy
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.
After installation, open the installed x2strategy directory in the terminal. Keep the directory name x2strategy.
From that skill directory, install the documented dependencies.
uv sync --all-extras
From that skill directory, create the environment file and add your LLM API key as directed by the author.
cp .env.example .env # add your API key (DEEPSEEK_API_KEY recommended)
In the agent chat, enter /x2strategy, or let the agent activate it when relevant.
From the cloned x2strategy directory, run this command in a terminal to install all dependencies.
uv sync --all-extras
From the cloned x2strategy directory, run this command in a terminal, then add your API key to the created environment file as directed by the inline comment.
cp .env.example .env # add your API key (DEEPSEEK_API_KEY recommended)
In the agent chat, enter `/x2strategy`, or allow the agent to activate the skill when relevant.
From the cloned x2strategy directory, run this command in a terminal to install all dependencies.
uv sync --all-extras
From the cloned x2strategy directory, run this command in a terminal, then add your API key to the created environment file as directed by the inline comment.
cp .env.example .env # add your API key (DEEPSEEK_API_KEY recommended)
In the agent chat, enter `/x2strategy`, or allow the agent to activate the skill when relevant.
From the cloned x2strategy directory, run this command in a terminal to install all dependencies.
uv sync --all-extras
From the cloned x2strategy directory, run this command in a terminal, then add your API key to the created environment file as directed by the inline comment.
cp .env.example .env # add your API key (DEEPSEEK_API_KEY recommended)
In a compatible agent chat, enter `/x2strategy`, or allow the agent to activate the skill when relevant.
A finance research document in PDF, Markdown, DOCX, or plain-text format
An LLM API key configured in the skill environment
Optional custom instructions, implementation constraints, known pitfalls, or reference files
Check the repository for this skill’s setup.
Use the x2strategy skill to analyze the attached finance paper and identify its independent trading strategies. For this first result, summarize each strategy’s indicators, signal logic, execution plan, and risk controls, and stop before code generation. Ask whether I want to provide custom instructions, implementation constraints, known pitfalls, or reference files before extraction.
A finance paper in PDF, Markdown, DOCX, or plain-text format
Applicable backtest data files
An LLM API key configured in the skill environment
Optional clarification or customization instructions
Check the repository for this skill’s setup.
Use the x2strategy skill to analyze the attached paper and implement only its main strategy. Use the attached data files where applicable, validate the generated Backtrader code, run the backtest, and report the diagnosis and meaningful metrics. Ask me to resolve ambiguous assumptions or human-review items before implementation.
Generate and test code from a strategy specification
Uses x2strategy
A structured strategy specification
Backtest data compatible with the strategy
An LLM API key configured in the skill environment
Check the repository for this skill’s setup.
Use the x2strategy skill to turn the attached strategy specification into Backtrader code, validate it, run a backtest with the attached data, and give me a concise diagnosis. Confirm the implementation target and any inferred defaults with me before generating code.