Guotai Haitong Lingxi Real-Time Market Data
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @org-gaflu0dl/lingxi-realtimemarketdata-skill.
About this skill
Problem Context
When an agent needs A-share real-time market data, the hard part is often not the API call itself, but authorization state, ticker-code resolution, and source trust. This skill targets Guotai Haitong Lingxi real-time market queries. It requires the agent to confirm that gtht-entry.json exists before returning prices, opening prices, or change percentages; if not authorized, it uses node skill-entry.js authChecker auth --channel with a QR-code or API Key flow, instead of substituting web search or remembered ticker codes for official results.
Core Behavior
- Authorization first: check
gtht-entry.jsonbefore any market query ormcpClient call; if invalid or returning 4xx, remove it and re-authorize. - Name-to-code lookup: when the user says 'Kweichow Moutai,' call
stockMap codeByNamefirst, thenmarketdata-tool; when the user givesSH601211, skip name resolution. - Batch queries: pass multiple
reduced_codesusing comma-separated or repeated parameters to avoid per-ticker calls. - Data boundary: prefer this skill, fall back to
lingxi-smartstock-skillwhen results are empty, and use the fixed fallback wording if both fail, without inventing data or converting units.
Boundaries
It fits real-time price, open, turnover, and net inflow questions, but is not a substitute for investment advice, deep historical fundamentals, or cross-market full coverage. Responses must keep the compliance line stating that model-generated analysis or recommendations must not be presented as Guotai Haitong investment advice, and all ticker codes should be validated by codeByName and the market API.
Use Cases
- Authorize a Guotai Haitong API Key, then query one A-share ticker's latest price, open, and change.
- When a user mentions Kweichow Moutai, resolve its code with `stockMap codeByName`, then call `marketdata-tool`.
- Batch-check hot tickers' latest prices, turnover, and net inflow by passing multiple `reduced_codes` separated by commas.
- If this skill returns no valid data, fall back to `lingxi-smartstock-skill` and use the fixed fallback wording if still unavailable.
Best For
- Engineers building securities Q&A agents who want to check authorization before calling official market endpoints instead of using web results.
- MCP gateway developers who need stable calls to `marketdata-tool` and `stockMap` for single, batch, and name-to-code queries.
- Guotai Haitong Lingxi integration teams that need to wrap real-time market data with authorization, fallback, and compliance wording.
- A-share Q&A agent testers who validate ticker resolution, batch quotes, and no-data fallback behavior.
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.