AI Agent Hub
Back to skills
A-Share Real-Time Stock Quote Assistant icon

A-Share Real-Time Stock Quote Assistant

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Install @user_512254e3/a-stock-quote according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When inspecting A-share markets, a single view often needs current price, five-level order book, moving averages, capital flow, northbound flow, sector ranking, and Dragon-Tiger lists. These data points are spread across Tencent Finance, Sina Finance, and Eastmoney endpoints, so manual integration can hit code ambiguity, rate limits, and inconsistent output shapes.

How It Works

  • Quote lookup: accepts 600519, sh600519, and sz000001, and disambiguates overlapping codes such as 000001.
  • Execution flow: checks the watchlist first, then runs stock_quote.py --watchlist --json, adding --ma, --flow, --north, --sector, or --dragon as needed.
  • Data sources: real-time quotes prefer Tencent Finance with Sina Finance fallback; capital flow, northbound flow, and Dragon-Tiger lists use Eastmoney; sector ranking uses Sina Finance.
  • Output: returns price, change, open/high/low, volume/turnover, turnover rate, volume ratio, market cap, five-level book, and limit-up/limit-down order hints in a standard format.

Boundaries

  • Visible order-book depth only covers five levels; full order-book sealing requires Level-2 data.
  • Eastmoney endpoints are rate-limited, so transient failures may need retry.
  • Moving averages use forward-adjusted daily K-line data, which is useful for trend structure but not a substitute for tick-level analysis.

Use Cases

  • Check watchlist quotes after the opening auction, including price, change, five-level book, and limit-order hints.
  • Pull MA5/MA10/MA20/MA60 and alignment status while judging intraday trend.
  • Review main capital net inflow, order-size breakdown, and 5-day northbound flow.
  • Rank sector movements by change and inspect leading stocks with gain.

Best For

  • Quant analysts who track A-share watchlists and need live books and limit-order hints.
  • Brokerage researchers reviewing stocks using moving averages, capital flows, and northbound data.
  • Finance operations staff monitoring sector rotation and Dragon-Tiger anomalies for daily recaps.
  • Python engineers integrating quote JSON into their own monitoring pipelines.