Guotai Haitong Lingxi Smart Stock Selection
Paste the following prompt into your AI chat to install this skill:
Please install @org-gaflu0dl/lingxi-smartstockselection-skill by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
A-share stock screening often requires manually comparing market data, financials, valuation metrics, and technical indicators, then validating whether the same rule set would have performed well historically. Doing this with scattered queries and spreadsheets makes it easy to miss sorting logic, data conditions, and date semantics. This skill packages both “screen stocks by conditions” and “backtest those conditions” into Agent-callable MCP tools, so engineers and research users can describe rules in natural language and receive structured results.
How It Works
The core capabilities are:
- Multi-indicator screening: financial-search supports natural-language queries for A-share real-time market data, company information, F10 financial data, and technical indicators.
- Strategy backtesting: backtest evaluates a screening rule over historical data and reports annualized return, maximum drawdown, and win rate.
Key execution steps:
1. Check authorization: read gtht-skill-shared/gtht-entry.json; if the file is missing or expired, trigger the cloud authorization flow.
2. Normalize screening intent: convert natural-language rules such as “gain over 5% and turnover over 3%” into the required query parameter.
3. Call the matching gateway: use financial for data search and backtest for historical validation.
4. Surface important context: preserve the data conditions, date field, and sorting logic in the response, so yesterday’s data is not presented as today’s data.
Boundaries
- It is primarily scoped to A-share base market data and the provided backtesting flow, not information outside the
financialandbacktesttools. - Vague requests should be clarified for ticker, condition, or time range before tool calls.
- Execution is restricted to the skill directory and shared configuration directory, with cross-platform commands run through
node; Windows PowerShell environments should use;instead of&&.
Use Cases
- Screen A-share stocks with gain over 5% and turnover over 3% before the morning meeting, then preserve the query conditions.
- Backtest a high-turnover, low-valuation rule for the past year and extract annualized return, max drawdown, and win rate.
- Debug empty screening results by checking ticker codes, date fields, and sorting metrics against the requested conditions.
- Run node skill-entry.js to call financial-search in PowerShell and organize the returned JSON by stock conditions.
Best For
- A-share research assistants who need to turn gain, turnover, and valuation conditions into auditable queries.
- Quant operations staff who need to backtest one screening rule for annualized return, drawdown, and win rate.
- Engineers integrating financial MCP gateways who need to debug auth, 401 errors, tool names, and PowerShell commands.
- Securities analysts drafting morning reports who need to extract dates, sorting metrics, and query conditions from results.
Related Skills
Provides compliance self-check and remediation guidance for medical aesthetics and jewelry businesses, covering tax categories, invoicing, and private-account risk.
Covers literature review, data analysis, visualization, drug discovery, paper writing, and grant writing workflows.
A retrieval assistant for Chinese laws and regulations, supporting semantic queries, validity checks, clause location, and regulation comparison with CLI-based output.
Wraps the Tonghuashun finance data MCP service for querying stocks, funds, macro data, news, bonds, global stocks, and indices.