โ† All skills
Tencent SkillHub ยท Developer Tools

allstock-data

Stock market data query skill for China A-shares, Hong Kong, and US markets. Uses Tencent Finance HTTP API by default (lightweight, no install needed), with...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Stock market data query skill for China A-shares, Hong Kong, and US markets. Uses Tencent Finance HTTP API by default (lightweight, no install needed), with...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.2

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

Stock Data Query

Two data sources are supported. Tencent Finance HTTP API is used by default: Tencent Finance HTTP API (Default) โ€” Lightweight, no installation, no proxy required adata SDK (Optional) โ€” More comprehensive data, requires installation and possibly a proxy

1.1 China A-Share Real-Time Quotes

Endpoint: http://qt.gtimg.cn/q=<stock_code> Stock Code Format: MarketCode PrefixExampleShanghai Main Boardsh600xxxsh600519 (Moutai)STAR Marketsh688xxxsh688111Shenzhen Main Boardsz000xxxsz000001 (Ping An Bank)ChiNext (GEM)sz300xxxsz300033ETFsz159xxxsz159919 Index Codes: IndexCodeSSE Composite (Shanghai)sh000001SZSE Component (Shenzhen)sz399001ChiNext Indexsz399006STAR 50sz399987CSI 300sh000300 Examples: # Single stock curl -s "http://qt.gtimg.cn/q=sh600519" # Multiple stocks curl -s "http://qt.gtimg.cn/q=sh600519,sh000001,sz399001" Response Fields: v_sh600519="1~่ดตๅทž่Œ…ๅฐ~600519~1460.00~1466.21~1466.99~14146~6374~7772~..." ~ Name ~ Code ~ Open ~ High ~ Low ~ Volume IndexField0Market code1Stock name2Stock code3Current price4Open price5Low price6High price30Price change31Change %

1.2 Hong Kong Stock Real-Time Quotes

Endpoint: http://qt.gtimg.cn/q=hk<stock_code> Examples: # Tencent Holdings curl -s "http://qt.gtimg.cn/q=hk00700" # Alibaba curl -s "http://qt.gtimg.cn/q=hk09988"

1.3 US Stock Real-Time Quotes

Endpoint: http://qt.gtimg.cn/q=us<ticker> Examples: # Apple curl -s "http://qt.gtimg.cn/q=usAAPL" # Tesla curl -s "http://qt.gtimg.cn/q=usTSLA" # NVIDIA curl -s "http://qt.gtimg.cn/q=usNVDA"

1.4 K-Line Historical Data

Endpoint: https://web.ifzq.gtimg.cn/appstock/app/fqkline/get Parameters: ParameterDescription_varVariable name, e.g. kline_dayqfqparamstock_code, kline_type, start_date, end_date, count, adjust_type K-Line Types: day / week / month Adjustment Types: qfqa (forward-adjusted) / qfq (backward-adjusted) / empty (unadjusted) Examples: # Moutai daily K-line (last 10 days, forward-adjusted) curl -s "https://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayqfq&param=sh600519,day,,,10,qfqa" # Ping An Bank weekly K-line (last 5 weeks) curl -s "https://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_weekqfq&param=sz000001,week,,,5,qfqa" # ChiNext Index monthly K-line (last 3 months) curl -s "https://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_monthqfq&param=sz399006,month,,,3,qfqa" Response Format: {"day": [["2026-02-27", "1466.99", "1461.19", "1476.21", "1456.01", "13534"], ...]} Date Open Close High Low Volume

1.5 Order Book Analysis

Endpoint: http://qt.gtimg.cn/q=s_pk<stock_code> Example: curl -s "http://qt.gtimg.cn/q=s_pksh600519" Returns: Buy/sell volume ratios (internal vs external trades)

2. adata SDK (Optional)

adata is an open-source A-share quantitative data library providing more comprehensive data. Requires installation and possibly a proxy.

Installation

pip install adata

Proxy Setup (if needed)

import adata adata.proxy(is_proxy=True, ip='your-proxy-ip:port')

Feature List

FeatureDescriptionStock Basic InfoAll A-share codes, share capital, SW industry classificationK-Line DataDaily/Weekly/Monthly, forward/backward adjustmentReal-Time QuotesBatch real-time pricingLevel-2 Order BookBid/ask depth dataCapital FlowIndividual stock capital flow analysisConcept SectorsThematic sector dataIndex DataMajor index quotesETFETF quotes

Usage Examples

import adata # Get all A-share stock codes df = adata.stock.info.all_code() # Get K-line data df = adata.stock.market.get_market( stock_code='000001', k_type=1, # 1=daily, 2=weekly, 3=monthly start_date='2024-01-01', adjust_type=1 # 0=unadjusted, 1=forward, 2=backward ) # Real-time quotes df = adata.stock.market.list_market_current( code_list=['000001', '600519'] )

3. Use Case Guide

ScenarioRecommended SourceQuick single stock price checkTencent Finance APIK-line historical dataTencent Finance APIBatch quote queriesTencent Finance APICapital flow dataadata SDKFull financial statementsadata SDKConcept/sector analysisadata SDKLevel-2 order bookTencent Finance API or adata SDK

4. Important Notes

Encoding: Tencent Finance API returns GBK-encoded text โ€” decode accordingly Change %: Use the API's built-in field (index 31) โ€” do not calculate manually Data Delay: Real-time data may have up to 15-minute delay Request Rate: Avoid high-frequency requests โ€” use batch queries when possible Error Handling: Invalid stock codes return v_pv_none_match="1"

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc