Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

tushare-base

bởi wdblink

Browser & Automation
2.3kLượt tải do clawskills.sh công bố
3Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Fetch Chinese stock and futures market data via Tushare API.

Mô tả

Kỹ năng này làm gì

Fetches Chinese stock and futures market data via the Tushare API. Covers A-share quotes (daily, weekly, monthly, realtime), futures contracts across major exchanges, company fundamentals, and macroeconomic indicators like GDP, CPI, and PPI. Requires a Tushare account and API token.

Tushare provides a single API covering Chinese equities, futures, and macro data that is otherwise scattered across exchange-specific sources.

Khi nào nên dùng

  • Pulling daily price history for a specific A-share stock
  • Checking realtime quotes for Shenzhen or Shanghai-listed stocks
  • Fetching copper or steel futures data from SHFE
  • Retrieving money flow data for a given trading day
  • Looking up GDP or CPI trends for macro research

Quy trình ví dụ

ĐẦU VÀO

User asks: get daily price data for Kweichow Moutai (600519.SH) for January 2024

AGENT
  1. 1

    Set TUSHARE_TOKEN environment variable

  2. 2

    Run market.py daily with ts_code 600519.SH

  3. 3

    Pass start_date 20240101 and end_date 20240131

  4. 4

    Display returned OHLCV data

ĐẦU RA

Daily open, high, low, close, and volume data for 600519.SH across all trading days in January 2024

Yêu cầu

  • TUSHARE_TOKEN environment variable
  • Tushare account (register at tushare.pro)

Cài đặt

clawhub install wdblink/tushare-base

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết