कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

a-share-real-time-data

wangdinglu द्वारा

Browser & Automation
1.3kclawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Fetch China A-share stock market data (bars, realtime quotes, tick-by-tick transactions) via mootdx/TDX protocol.

विवरण

यह स्किल क्या करती है

Wrapper around the mootdx library for fetching China A-share stock market data via TDX protocol. Supports K-line bars (1-minute and daily), real-time quotes with Level-2 order book data, and tick-by-tick transaction records for historical dates and live sessions.

The client automatically applies the tdxpy time_frame patch that prevents silent empty results when running on servers outside Beijing timezone, a common failure mode with raw mootdx.

इसे कब इस्तेमाल करें

  • Fetching real-time Level-2 bid/ask quotes for a batch of A-share stocks
  • Pulling 1-minute candlestick bars for a specific stock at a past intraday timestamp
  • Retrieving tick-by-tick transaction history for a specific trading day
  • Monitoring live intraday transaction flow for a single Shanghai or Shenzhen stock
  • Backtesting with historical daily OHLCV data across multiple A-share equities in parallel

उदाहरण वर्कफ़्लो

इनपुट

User asks: Get real-time quotes for 000001.SZ, 600300.SH, and 300750.SZ

एजेंट
  1. 1

    Initialize Quotes client with market='std'

  2. 2

    Apply tdxpy.hq.time_frame patch to bypass trading-hour restriction

  3. 3

    Call get_realtime_quotes(['000001.SZ', '600300.SH', '300750.SZ'])

  4. 4

    Return list of quote dicts with OHLC, volume, percent change, and pre-close for each stock

आउटपुट

List of dicts containing trade_date, open, high, low, close, pre_close, change, pct_chg, vol, and amount for each requested stock

इंस्टॉलेशन

clawhub install wangdinglu/a-share-real-time-data

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक