본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

allstock-data

hacksing 제작

Shopping & E-commerce
630clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

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

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

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

에이전트
  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)

출력

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

요구 사항

  • 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

설치

clawhub install hacksing/allstock-data

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크