JoinQuant Quantitative Skill: Aligning JoinQuant Python SDK Usage in AI Conversations

Introduction

When developing strategies with GoldMiner (gm.api), documentation is often scattered across multiple product lines, including market data, trading, stock fundamentals, convertible bonds, funds, and futures. If you have to repeatedly check official documentation within your IDE to verify parameter names and call sequences while writing backtests, subscribing to real-time quotes, or using stk_get_fundamentals, it slows down your iteration process. Furthermore, general LLMs have unstable memory regarding GoldMiner’s proprietary interfaces and often confuse APIs like history_n, subscribe, and order_target_volume, or miss prerequisite steps (such as set_token).

Below is an introduction to the GoldMiner Quant Skill (@user_7b314952/gmquant) available on SkillHub. It provides answers centered around the GoldMiner Python SDK during conversations and auto-loads when you mention GoldMiner-related keywords, confining the Q&A scope strictly to the SDK’s capabilities.

What is This

The GoldMiner Quant Skill is a community-sourced (community) Agent Skill categorized as professional. The current version is 1.0.1, published by user_7b314952. The Skill page positions it as a “GoldMiner Quant Python SDK Expert Skill”: when users discuss the GoldMiner terminal, strategy development, backtesting, or specific API names, the Agent loads this Skill to organize responses according to SDK semantics.

The Skill carries the tag requires_api_key=true, indicating that for live trading or cloud-based data, you typically need to configure a Token on the GoldMiner side (e.g., via set_token in the SDK). The Skill itself does not replace your account or terminal environment.

Core Functions

The following capabilities are derived from the trigger and coverage ranges described in the official Skill introduction, summarized by theme to help you determine if you need to install it.

Strategy Execution & Market Trading

  • Quantitative strategy development, backtesting, and schedule cron jobs.
  • Real-time and historical market data: subscribe, subscribe to quotes, history, history_n, current, last_tick, current_price, get_open_call_auction.
  • L2 Market Data related: tick-by-tick trades, tick-by-tick orders.
  • Symbols and Trading Days: get_symbols, get_symbol_infos, get_history_symbol, get_trading_dates.
  • Order Placement and Account Management: order_volume, order_percent, order_value, order_target_volume, algo_order, as well as get_orders, get_position, get_cash.

Stock Fundamentals & Sectors

  • Financials and Reports: Balance Sheets, Income Statements, Cash Flow Statements, as well as stk_get_fundamentals, stk_get_finance_audit, stk_get_finance_forecast.
  • Valuation and Market Derivatives: stk_get_daily_valuation (PE/PB/PS, dividend yield, market cap, share capital, float shares, etc., are mentioned in the description).
  • Indices and Constituents: stk_get_index_constituents, constituent stock capabilities.
  • Industries and Sectors: stk_get_industry_category, stk_get_industry_constituents, stk_get_symbol_industry, stk_get_sector_category, stk_get_sector_constituents, stk_get_symbol_sector.
  • Corporate Actions and Shareholders: stk_get_dividend, stk_get_ration, stk_get_adj_factor, stk_get_shareholder_num, stk_get_top_shareholder, stk_get_share_change.
  • Anomalies and Capital Flow: stk_abnor_change_stocks, stk_abnor_change_detail, stk_get_money_flow.
  • Shanghai-Hong Kong / Shenzhen-Hong Kong Connect: stk_quota_shszhk_infos, stk_active_stock_top10_shszhk_info.

Convertible Bonds

  • bond_convertible from the description and analysis-oriented interfaces: bnd_get_analysis, bnd_get_conversion_price, bnd_get_call_info, bnd_get_put_info, bnd_get_amount_change, covering analysis scenarios such as conversion premium rate and pure bond value.

Funds & ETFs

  • fnd_get_portfolio, fnd_get_etf_constituents, fnd_get_net_value, fnd_get_adj_factor, fnd_get_dividend, fnd_get_split, fnd_get_share, corresponding to needs like ETF constituents and fund net asset values.

Futures

  • fut_get_contract_info, fut_get_continuous_contracts, fut_get_transaction_rankings, fut_get_warehouse_receipt, corresponding to contract info, continuous contracts, trading and holding rankings, and warehouse receipt data.

Installation & Activation

The installation method provided on the SkillHub page is: ask the AI to install the coordinate @user_7b314952/gmquant following the SkillHub Installation Guide. Below is the CLI path consistent with that guide. During installation, you must install the skill into the skills directory actually used by your current Agent; otherwise, the Agent may not recognize it.

1. Verify SkillHub CLI

First, check if skillhub is available on your machine:

command -v skillhub && skillhub --version

If not installed, you can perform a full installation (including CLI and default Skills) following the SkillHub documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If you only need the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install GoldMiner Quant Skill

The --dir flag must point to the skills directory of the current environment. Common path examples in documentation:

Environment Skills Directory (Example)
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Execute the installation in the corresponding directory (replace <skills directory> with your actual path):

skillhub install @user_7b314952/gmquant --dir <skills directory>

Alternatively, you can send the gist of the prompt provided on the SkillHub page directly in the chat: Please install @user_7b314952/gmquant based on https://skillhub.cn/install/skillhub.md.

3. Activation Method

The Skill is designed for automatic keyword loading: when terms like GoldMiner, gm, gm.api, the API names listed above, or scenario-specific terminology appear in the conversation, the Agent should load this Skill. You do not need to manually @ the skill name every time, but you must ensure the skill is installed in the current Client’s skills directory and restart or refresh the Agent if necessary.

Typical Usage

The official page does not include complete strategy source code examples. Typical usage involves two steps: first, complete the installation, and then, specify the SDK concepts or function names you intend to use in your natural language questions.

Install via AI (Consistent with SkillHub page)

Send the following in a Client that supports Skills:

Please install @user_7b314952/gmquant based on https://skillhub.cn/install/skillhub.md.

Trigger the Skill during Development Conversation

After installation, use specific questions to constrain the scope, for example:

  • “In GoldMiner, how do I use subscribe to subscribe to Shanghai/Shenzhen A-share ticks after set_token?”
  • “What is the difference between the fields when using history_n and history to fetch K-lines in backtesting?”
  • “I want to use stk_get_daily_valuation to pull PE/PB, how should I pass the date parameters?”

Once the Agent loads this Skill, the response should focus on the GoldMiner Python SDK’s call sequence, parameters, and data meanings. You still need to install the GoldMiner SDK locally, configure the terminal or simulation environment, and prepare a Token on the GoldMiner side as per requires_api_key=true.

Use Cases & Notes

Who is it for

  • Developers already using or planning to use the GoldMiner Python SDK for strategies, backtesting, market data subscription, and trading.
  • Those writing strategy code in environments like Cursor, Claude Code, or Codex who want to reduce instances of “misremembering API names” or “missing prerequisite steps.”

Usage Notes

  1. Data Source & Permissions: The tag requires_api_key=true indicates that real market data and trading depend on your GoldMiner account and Token; the Skill only assists in understanding and generating code ideas and does not replace compliance and risk control judgments.
  2. Version: The version displayed on SkillHub is 1.0.1; if the official GoldMiner SDK is upgraded, please refer to the current GoldMiner documentation and specify the SDK version in the conversation if necessary.
  3. Community Skill: Sourced from community, published by user_7b314952; for production environments, it is recommended to independently verify critical order placement and fund logic against official documentation and test results.
  4. Statistics: As of the data retrieval time, the SkillHub page shows a rating of 100000 and 5599 downloads (page statistics are updated dynamically; please refer to SkillHub real-time data).

Conclusion

The GoldMiner Quant Skill encapsulates a “GoldMiner Python SDK Expert” into an auto-triggerable Agent Skill, covering interface families ranging from market data and trading to stocks, convertible bonds, funds, and futures. If you frequently write GoldMiner strategies in AI tools, you can first install @user_7b314952/gmquant according to the SkillHub instructions, and then directly write gm.api or specific function names in your questions.

Official Portals:

羽毛球分组比赛记分
小程序二维码

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

Xiaoye