Preface¶
When doing A-share quantitative trading, a common approach is to write your own scripts to pull market data, build backtests, and then connect to visualization or reporting tools. Each data source comes with its own authentication scheme and field definitions, so switching sources means modifying code. There is also a missing layer of stable interface between backtesting logic and “asking AI to modify strategies.” If you want to drive backtesting, stock screening, or exports with natural language inside an Agent like Cursor without building a service from scratch, you can install the A-share Quantitative Backtesting Strategy Engine from SkillHub (coordinates @user_a9caeb3c/quant-backtest-strategy), handing the pre-packaged quantitative capabilities and 102 REST APIs to the Agent for invocation.
The following sections introduce what it is, its publicly available core capabilities, installation methods, typical usage in conversation, and applicable boundaries.
What This Is¶
The A-share Quantitative Backtesting Strategy Engine is a Skill under the data-analysis category in the SkillHub community, published by user_a9caeb3c. The current package version is 4.0.0 (the page description also mentions a V2.1.2 product line description, but the SkillHub version number is the authoritative one). SkillHub marks it as requires_api_key=false, meaning that installing the Skill itself does not require additional API key configuration.
The official description highlights: a professional-grade A-share quantitative trading system, support for three data sources — RQData / JoinQuant / AkShare, 102 REST API endpoints, and documentation and testing-related notes (such as seven-role full-chain testing, TRACE evaluation, etc.). It is designed for completing strategy backtesting, data, and quantitative analysis tasks within Agent sessions, rather than replacing broker live-trading channels.
Core Features (Publicly Available Information)¶
The following is based on the SkillHub page and crawled metadata; items that have not been separately verified are not elaborated on.
-
Strategy backtesting and quantitative trading capabilities
The Skill’s name and description both point to an A-share quantitative backtesting and trading system; specific strategy types and indicator parameters are subject to the installedSKILL.mdand REST documentation. -
102 REST API endpoints
Programmatic access via HTTP is supported, making it easy for Python (e.g.,requests) or an Agent to combine endpoints to complete queries, backtesting, exports, and other workflows. -
Three data sources
The official description states support for RQData, JoinQuant (JQData), and AkShare, allowing switching between different data sources and reducing the cost of rewriting the data collection layer when changing sources. -
Agent integration
After installation, users can describe tasks in natural language (see examples below), and the Agent will call local or accompanying service logic according to the Skill’s instructions.
Installation and Activation¶
1. Install the SkillHub CLI (if not already installed)¶
First check whether the CLI is already available:
command -v skillhub && skillhub --version
If not installed, you can use the official one-click script (a complete installation includes default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill¶
When installing, you must use --dir to point to the skills directory currently used by your Agent. Otherwise, installing to the default ./skills/ may not be recognized.
The installation hint given on the SkillHub page is: refer to the SkillHub installation instructions to install @user_a9caeb3c/quant-backtest-strategy.
Command-line example (replace <skills directory> with your environment’s path):
skillhub install user_a9caeb3c/quant-backtest-strategy --dir <skills directory>
Skills directories for common Agents (from the official installation documentation):
| Environment | Typical Path |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ in the project |
After installation completes, refresh or restart the Agent as required by your client to activate the Skill.
3. Have AI install it for you through conversation¶
If typing commands manually is inconvenient, you can send the following prompt to your Agent (consistent with the SkillHub page):
Please install `@user_a9caeb3c/quant-backtest-strategy` according to https://skillhub.cn/install/skillhub.md.
Typical Usage¶
The Skill does not provide a complete list of REST examples on its public page; a more common usage pattern inside an Agent is to trigger it with natural language, letting the Skill guide the invocation of the corresponding APIs or local capabilities. The following expressions are consistent with the Skill’s product positioning and can serve as starting points for conversations (whether a specific interface is supported is subject to the documentation after installation):
- “Help me backtest Kweichow Moutai’s MA (moving average) strategy”
- “Screen today’s limit-up stocks”
- “View the risk overview of my watchlist”
- “Export trade records to Excel”
For programmatic invocation, you can combine the 102 REST API endpoints mentioned in the description and use requests in a Python environment to access the base URL and paths listed in the Skill documentation; the first step should be to read the environment and startup instructions in the Skill package’s SKILL.md.
Applicable Scenarios and Notes¶
More suitable for:
- A-share individual investors doing strategy idea validation and backtesting of indicators and rules;
- Quantitative beginners who want to ask and experiment inside an Agent, reducing the time spent building a backtesting framework from scratch;
- Data analysis workflows that need to use or switch between AkShare / JoinQuant / RQData.
Boundaries to keep in mind:
- The SkillHub public page does not promise high-frequency trading (HFT) or directly connecting to broker live trading for automatic order placement; live trading requires you to connect to brokers and compliance processes yourself.
- The description focuses on A-share quantitative trading; whether futures, options, and deep analysis of Hong Kong and US stocks are supported is subject to the documentation within the Skill — do not assume full coverage by default.
- The ratings and download counts in the page description change with SkillHub updates; reference values at the time of writing are: category data-analysis, rating 100000, downloads 31058, installs 43 (source: SkillHub metadata snapshot).
Conclusion¶
The A-share Quantitative Backtesting Strategy Engine packages A-share quantitative backtesting, three data sources, and a large number of REST APIs into an Agent Skill, suitable for driving strategy validation and data analysis through conversation in environments like Cursor. Installation and priority source configuration are subject to the official SkillHub documentation.
- SkillHub page: https://www.skillhub.cn/skills/user_a9caeb3c/quant-backtest-strategy
- API / resource entry point: https://api.skillhub.cn/user_a9caeb3c/quant-backtest-strategy
- Installation instructions: https://skillhub.cn/install/skillhub.md