szwzz/astockpursue/tencent
Claude Code and agent skill by szwzz/astockpursue
- community
Checking that the SKILL.md file is still in the repository.
Tencent Finance real-time quotes and K-line data for A-shares and HK stocks. Free, no API key, millisecond-level real-time data. #4 fallback in the A-share chain (after mootdx/eastmoney, before baidu/futu/twelvedata/akshare).
Install
npx vskill@latest install szwzz/astockpursue/tencentSKILL.md
The same SKILL.md was published earlier as szwzz/astockpursue/tencent.
Tencent Finance
Overview
Tencent Finance provides free, real-time stock quotes and historical K-line data for China A-shares (Shanghai/Shenzhen) and Hong Kong stocks. No registration or API key required.
- Real-time quotes:
qt.gtimg.cn— millisecond-level price updates - K-line data:
web.ifzq.gtimg.cn/appstock/app/fqkline/get— daily/weekly/monthly
The project has a built-in Tencent DataLoader (backtest/loaders/tencent.py). When backtesting, set source: "tencent" or rely on source: "auto" (Tencent is the #4 fallback for A-shares after mootdx/tushare/eastmoney, #3 for HK stocks after yfinance/Futu).
Quick Start
The DataLoader handles code normalization automatically. No separate setup needed.
Code Format
| Market | Project Format | Tencent Format | Example | |
|---|---|---|---|---|
| A-share (Shanghai) | 600519.SH | sh600519 | 贵州茅台 | |
| A-share (Shenzhen) | 000001.SZ | sz000001 | 平安银行 | |
| A-share (Beijing) | 430047.BJ | bj430047 | ||
| HK stock | 700.HK | hk00700 | 腾讯控股 |
Real-time Quote Fields
The quote endpoint returns ~50 fields. Key fields:
| Index | Field | Description | |
|---|---|---|---|
| 1 | name | Stock name (GBK-decoded) | |
| 2 | symbol | Exchange-tagged code | |
| 3 | last | Current price | |
| 4 | prev_close | Previous close | |
| 5 | open | Today's open | |
| 6 | volume | Volume (手) | |
| 33 | high | Today's high | |
| 34 | low | Today's low | |
| 37 | amount | Turnover (万元) | |
| 38 | turnover_rate | Turnover rate (%) | |
| 39 | pe | P/E ratio | |
| 45 | market_cap | Total market cap (亿元) |
K-line Adjustment Modes
| Mode | Param | Description | |
|---|---|---|---|
| qfq | 前复权 | Forward-adjusted (default in AStockPursue) | |
| hfq | 后复权 | Backward-adjusted | |
| (none) | 不复权 | Unadjusted |
Limitations
- No minute-level K-lines: Tencent fqkline supports day/week/month only. Use AKShare for minute bars.
- GBK encoding: Responses are GBK-encoded. The DataLoader handles this automatically.
- No US stocks: Tencent only covers CN/HK markets.
Fallback Position
In the auto-routing chain, Tencent is positioned as a fast, free fallback:
- A-shares: tushare → tencent → twelvedata → akshare
- HK stocks: yfinance → futu → tencent → twelvedata → akshare
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingservices/python/src/skills/tencent/SKILL.md
Popularity
- Repository stars
- 7
- Repository forks
- 4
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/szwzz/astockpursue/tencent)