Precise A-Share Trading Point Prediction: Driving OneQuant 4.0 for Local Quantitative Analysis via Agent

Introduction

When validating A-share strategies, it is common to write custom scripts to fetch market data and then piece together backtesting and stock selection logic. This often requires rewriting glue code whenever the data source or runtime environment changes. A-share Buy/Sell Point Prediction (Coordinate: @user_a9caeb3c/a-stock-buy-sell-predict, current version 4.0.3) on SkillHub encapsulates the quantitative capabilities of OneQuant 4.0 into a Skill callable by Agents. It allows users to trigger backtesting, stock selection, risk control inspection, or export via natural language in a conversation, with execution handled by the local OneQuant platform. The following sections introduce what it is, what it can do, how to install it, and its applicable boundaries.

What is This

Positioning in one sentence: An Agent Skill for the local quantitative trading system OneQuant 4.0, targeted at A-shares. It is maintained by community publisher user_a9caeb3c, categorized as professional on SkillHub, and sourced from the community.

It solves the problem of unifying capabilities such as backtesting, technical signals, stock selection, simulated trading, risk control, K-line analysis, and data export through five invocation methods: Web interface, REST API (usable via Python requests), CLI, batch scripts (parallel backtesting for multiple stocks), and Docker containerization. The platform supports Windows / macOS / Linux (including Docker deployment). The Skill tags indicate requires_api_key=false, meaning the installation of the Skill itself does not rely on an additional API Key (however, if using paid data sources like JQData or RQData, you must still configure them according to the respective data source requirements).

Official Entry Points:

  • API Page: https://api.skillhub.cn/user_a9caeb3c/a-stock-buy-sell-predict
  • SkillHub Page: https://www.skillhub.cn/skills/user_a9caeb3c/a-stock-buy-sell-predict

Core Functions

The following capabilities are derived from the SkillHub brief and page descriptions, and have been verified for consistency.

Data and Interface

  • 102 API endpoints for programmatic invocation.
  • Data source support for hot-switching between AkShare / JQData / RQData.

Strategy and Signals

  • Strategy backtesting: e.g., MA, RSI, MACD.
  • Technical signals: Buy/sell point marking.

Stock Selection and Trading

  • Quantitative stock selection: Conditions such as limit-up, golden cross, oversold, etc.
  • Simulated trading: Limit orders, market orders, conditional orders.

Risk Control and Analysis

  • Risk management: Stop-loss/take-profit, position alerts.
  • K-line analysis: 9 types of periods including daily, weekly, monthly, and minute levels.
  • Data export: Excel.

Installation and Activation

The Skill is based on the universal SKILL.md format. When installing on SkillHub, you need to instruct the Agent to follow the official installation documentation and specify the skills directory for your current client; otherwise, installing to the default ./skills/ might not be recognized.

1. Check or Install SkillHub CLI

First, confirm if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (CLI + default Skills) following the 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

2. Install this Skill to the Corresponding Agent Directory

The installation coordinate provided on the SkillHub page is @user_a9caeb3c/a-stock-buy-sell-predict. The installation command looks like this (replace <skills directory> with the path for your current environment):

skillhub install @user_a9caeb3c/a-stock-buy-sell-predict --dir <skills directory>

Common client skills directories (from SkillHub installation documentation):

Client skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can send the prompt to an AI: “Please install @user_a9caeb3c/a-stock-buy-sell-predict based on https://skillhub.cn/install/skillhub.md.”

3. Enable the OneQuant Local Platform

The Skill describes the capability set of OneQuant 4.0; specific startup methods for Web, REST, CLI, batch scripts, or Docker are subject to the SKILL.md inside the Skill package and the OneQuant documentation. After installing the Skill, before initiating tasks in the Agent, ensure that the local OneQuant service or container is running as described in the package.

Typical Usage

The natural language trigger examples provided officially can be used directly in an Agent with the Skill installed to verify if the pipeline is connected:

  1. “Help me backtest the MA strategy for Kweichow Moutai.”
  2. “Screen stocks that hit the limit-up today.”
  3. “View the risk overview for my watchlist.”
  4. “Export trade records to Excel.”

For programmatic scenarios, the brief indicates that the 102 endpoints can be accessed via REST API (e.g., Python requests); CLI and batch scripts are suitable for parallel backtesting of multiple stocks. Specific URLs, parameters, and request bodies need to be checked in the instruction files after Skill installation; this article does not expand on endpoint details not present in the public brief.

Applicable Scenarios and Notes

Suitable For

  • A-share individual investors doing strategy validation and buy/sell signal reference.
  • Quantitative beginners learning backtesting, stock selection, and simulated trading workflows.
  • Python data analysts doing batch research and Excel exports.

Not Suitable For or Limited Support

  • High-Frequency Trading (HFT).
  • Live automated order placement (requires self-integration with brokers).
  • Futures and Options (Skill description states A-shares only).
  • In-depth analysis of Hong Kong and US stocks (Limited Support).

Other Notes

  • The SkillHub page shows version v4.0.3; community Skill ratings and download counts fluctuate. At the time of writing, the page statistics were a rating of 100000, 8358 downloads, and 33 installs (if inconsistent with older numbers in clues, refer to the SkillHub page).
  • “Precise Buy/Sell Point Prediction” is an aid for quantitative and technical analysis and does not constitute investment advice; please verify data and strategy logic yourself before live trading.

Conclusion

A-share Buy/Sell Point Prediction consolidates OneQuant 4.0’s backtesting, stock selection, simulated trading, risk control, and K-line analysis into Agent conversations and various local invocation methods. It is suitable for those who need to validate A-share strategies locally without writing scripts from scratch every time. Installation and coordinates are subject to SkillHub:

  • https://www.skillhub.cn/skills/user_a9caeb3c/a-stock-buy-sell-predict
  • https://api.skillhub.cn/user_a9caeb3c/a-stock-buy-sell-predict
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye