Foreword¶
When validating A-share strategies, a common path is to build custom scripts to fetch market data and then piece together backtesting and exporting, resulting in fragmented environments and inconsistent interfaces. If you wish to centralize your research-oriented quantitative workflow on Windows, macOS, or Linux, and access the same capabilities across browsers, APIs, command lines, or containers, a localized, platform-based Skill is required. Below is an introduction to the A-share Quantitative Trading System V4.03 (Full Version) published by the SkillHub community (Coordinate @user_a9caeb3c/a-quanttrader-pro-v2-1, Version 4.0.3). It encapsulates the capabilities of OneQuant 4.0.3 into an Agent, facilitating natural language triggers for tasks such as backtesting, stock screening, risk control inspection, and data export.
What is this¶
OneQuant 4.0.3 is a local quantitative platform targeting A-shares: categorized as data-analysis on SkillHub, with a source of community and published by user_a9caeb3c. The official introduction positions it as an all-platform solution supporting Windows / macOS / Linux (Docker), featuring a built-in A-share Quantitative Backtesting Strategy Engine V2.1.2 and offering 102 REST API endpoints. On the data side, it supports three sources: Ricequant (Miquant) / JoinQuant / AkShare, allowing switching between data sources during execution (The Skill tag is requires_api_key=true; commercial sources like JoinQuant and Ricequant typically require you to prepare and configure keys yourself).
Unlike “just providing a Python example script,” this Skill emphasizes five calling methods covering the same backend: Web, REST, CLI, batch scripts, and Docker. This makes it suitable for placing “strategy validation” and “batch research” on the same interface, rather than maintaining separate codebases for each scenario.
Core Functions¶
The following capabilities are derived from the SkillHub page and the captured official introduction, organized by usage path.
Five Calling Methods¶
- Web Interface: Perform common operations in a browser, suitable for quick views and click-through workflows.
- REST API: Can be used for programmatic calls with Python
requests, etc.; a full set of 102 API endpoints supports backtesting, data, and trading-related capabilities. - CLI Command Line: Suitable for scripting and automated pipelines.
- Batch Scripts: Supports batch tasks such as parallel backtesting for multiple instruments (the official introduction explicitly mentions “multi-stock parallel backtesting”).
- Docker Containerization: Cross-platform deployment and isolated running environments.
Data and Engine¶
- Three Data Sources: Ricequant, JoinQuant, and AkShare, facilitating switching between free sources and paid professional sources based on the project.
- Backtesting Engine: Labeled as V2.1.2, released alongside the OneQuant 4.0.3 major version.
Trigger Methods in Agent¶
Simply explain your needs to the AI. Example intents provided by the Skill include: backtesting individual stock strategies, screening for limit-up stocks, viewing the risk overview of the watchlist, and exporting trading records to Excel. Specific parameters and interfaces are subject to the documentation within the Skill after installation.
Installation and Enablement¶
Install SkillHub CLI (if not already installed)¶
First, check if the CLI exists:
command -v skillhub && skillhub --version
If not installed, you can perform a full installation (CLI + default Skill) according to the official SkillHub installation documentation:
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
Install this Skill¶
The installation prompt provided on the SkillHub page is: Install Coordinate @user_a9caeb3c/a-quanttrader-pro-v2-1 according to the SkillHub Installation Instructions.
General command form (--dir must point to the current Agent’s skills directory, otherwise defaulting to ./skills/ might not be recognized):
skillhub install @user_a9caeb3c/a-quanttrader-pro-v2-1 --dir <skills directory>
Common Agent skills directory examples (from official installation docs):
| Environment | Path |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under project |
After installation, restart or refresh the Skill list as required by your client. Due to the tag requires_api_key=true, please configure the API Key required by the data source or platform according to the instructions within the Skill before enabling.
Typical Usage¶
1. Driven by Natural Language¶
In a conversation where the Skill is installed, you can directly describe tasks, for example:
- “Help me backtest a Guizhou Moutai MA strategy”
- “Screen for stocks that hit the limit up today”
- “View the risk overview of my watchlist”
- “Export trading records to Excel”
The Agent will call the corresponding capabilities of OneQuant according to Skill guidelines (The Web, API, or CLI path is subject to Skill documentation).
2. Programmatic Calls (Approach)¶
The official positioning supports REST API and Python requests. The typical steps are: First, start or connect to the local OneQuant service according to the Skill documentation, then initiate HTTP requests to the target interface among the 102 endpoints. The request base URL, authentication headers, and example payloads are subject to the 14 new documentation chapters in the installation package; specific URLs are not speculated here.
3. Batch and Container¶
When parallel backtesting for multiple instruments or a unified delivery environment is needed, prioritize using batch scripts or Docker methods as per Skill instructions to avoid repeated manual configuration of dependencies on the local machine.
Suitable Scenarios and Notes¶
More suitable for:
- A-share individual investors conducting strategy validation, simulation, and review-type research;
- Quantitative beginners hoping to understand the complete chain through Web + API;
- Python analysts needing to batch fetch data, backtest, and export results (e.g., Excel).
Not suitable for or requires self-extension:
- High-Frequency Trading (HFT): Oriented towards local research and backtesting, not a low-latency live trading channel;
- Live Automatic Ordering: Requires connecting to broker counters yourself; the Skill does not replace broker APIs;
- Futures, Options: Primarily for A-shares, does not cover main derivative scenarios;
- HK/US Stock Deep Analysis: Limited support only, should not be used as a primary tool.
Other Notes:
- The SkillHub display rating is 100000, with 7322 downloads (statistics change with platform updates).
- Responsibility for commercial data source keys and compliant usage lies with the user; field and frequency limits for free and paid sources are subject to the respective source documentation.
Conclusion¶
The A-share Quantitative Trading System V4.03 (Full Version) consolidates the local platform of OneQuant 4.0.3, 102 APIs, and five calling methods into an installable Agent Skill. It is suitable for transforming A-share quantitative research from “scattered scripts” into a repeatable workflow. For installation and details, see the SkillHub page and API entry:
- SkillHub: https://www.skillhub.cn/skills/user_a9caeb3c/a-quanttrader-pro-v2-1
- Official Address: https://api.skillhub.cn/user_a9caeb3c/a-quanttrader-pro-v2-1