A-Share Real-Time Stock Quote Assistant
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, andsz000001, and disambiguates overlapping codes such as000001. - Execution flow: checks the
watchlistfirst, then runsstock_quote.py --watchlist --json, adding--ma,--flow,--north,--sector, or--dragonas 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-2data. - 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.
Related Skills
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.
Run questionnaire-based tax risk scans that generate red/orange/yellow alerts with industry templates, policy references, remediation actions, and local trend tracking.
A contract review assistant for legal and business teams that extracts clauses, flags risks, compares versions, and generates opinion reports with a built-in legal knowledge base.