Lewati ke konten
TakoAPI
Kembali ke skill

allstock-data

oleh hacksing

Shopping & E-commerce
630Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Query A-share and US stock data via Tencent Finance API.

Deskripsi

Apa yang Dilakukan Skill Ini

Queries real-time and historical stock data for China A-shares, Hong Kong, and US markets. Uses the Tencent Finance HTTP API by default with no installation required. Optionally integrates the adata SDK for deeper data including capital flows and sector analysis.

The Tencent Finance API requires no API key, no account, and no installation, making it faster to use than most market data services.

Kapan Menggunakannya

  • Check current price of a Shanghai-listed stock
  • Pull 10-day K-line history for a ChiNext stock
  • Compare real-time quotes for multiple stocks in one request
  • Analyze order book buy/sell ratios for Moutai
  • Fetch batch A-share quotes for a personal watchlist

Contoh Alur Kerja

INPUT

User asks: What is the current price of Moutai (sh600519)?

AGENT
  1. 1

    Constructs request URL: http://qt.gtimg.cn/q=sh600519

  2. 2

    Sends HTTP GET request using curl

  3. 3

    Decodes GBK-encoded response text

  4. 4

    Parses the tilde-delimited fields to extract current price (index 3) and change % (index 31)

OUTPUT

Moutai (600519) is trading at 1460.00 CNY, down 0.43% from previous close.

Persyaratan

  • adata Python package (pip install adata) — only if using optional adata SDK features
  • Proxy server IP and port — only if adata SDK cannot reach data sources directly

Instalasi

clawhub install hacksing/allstock-data

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan