AI Agent Hub
Back to skills
Guotai Haitong Lingxi Real-Time Market Data icon

Guotai Haitong Lingxi Real-Time Market Data

Professional Updated 2026.08.30

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.json before any market query or mcpClient call; if invalid or returning 4xx, remove it and re-authorize.
  • Name-to-code lookup: when the user says 'Kweichow Moutai,' call stockMap codeByName first, then marketdata-tool; when the user gives SH601211, skip name resolution.
  • Batch queries: pass multiple reduced_codes using comma-separated or repeated parameters to avoid per-ticker calls.
  • Data boundary: prefer this skill, fall back to lingxi-smartstock-skill when 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.