ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 5/5

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 optional adata SDK for more comprehensive data. Supports real-time quotes, K-line history, order book analysis, and more.

Why use this skill?

Integrate real-time stock data into your AI agent with the allstock-data skill. Easily track China A-shares, HK, and US markets with zero-install API access.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/hacksing/allstock-data
Or

What This Skill Does

The allstock-data skill empowers your OpenClaw agent to act as a real-time financial market terminal. It bridges the gap between raw market data and actionable intelligence by providing seamless access to China A-shares, Hong Kong equities, and US stock markets. Leveraging the efficient Tencent Finance HTTP API, the skill retrieves real-time quotes, K-line historical data, and market indices without the need for complex database setups or external installations. Whether you are tracking the Shanghai Composite, monitoring high-growth US tech tickers like NVIDIA or Tesla, or analyzing Hong Kong blue-chips, this skill delivers precise market data directly to your AI workflow. For users requiring deeper financial insights or institutional-grade analytics, it also supports optional integration with the adata SDK, making it a versatile tool for both retail investors and technical analysts.

Installation

You can install the skill by executing the following command in your terminal: clawhub install openclaw/skills/skills/hacksing/allstock-data Ensure your environment has basic network connectivity, as the default Tencent API implementation relies on HTTP requests to fetch external market data. No complex dependencies are required for the default functionality.

Use Cases

  • Automated Portfolio Monitoring: Create a recurring task for the AI to fetch the latest prices of your watchlist and notify you of significant percentage changes.
  • Technical Analysis Research: Use the K-line historical data endpoint to retrieve price action trends for specific stocks, which can then be processed by OpenClaw's analysis modules.
  • Market Sentiment Tracking: Combine real-time quotes with news-scraping skills to correlate price volatility with current market events.
  • Quick Market Snapshot: Instantly query the performance of major global indices like the CSI 300 or S&P 500 without leaving your AI console.

Example Prompts

  1. "What is the current real-time price of Moutai (sh600519) and how much has it changed today?"
  2. "Can you pull the latest price for Apple (usAAPL) and Tesla (usTSLA) and compare their performance?"
  3. "Show me the status of the major indices including the Shanghai Composite (sh000001) and the Hang Seng Index."

Tips & Limitations

  • Rate Limiting: As this skill uses the public Tencent Finance API, avoid sending high-frequency automated requests to prevent potential IP blocking.
  • Data Accuracy: Always verify critical trading decisions against official brokerage platforms, as free APIs may have slight latency or data delays.
  • Code Formatting: When querying stocks, ensure you use the correct prefix (e.g., 'sh' for Shanghai, 'hk' for Hong Kong, 'us' for US markets) to prevent lookup errors.
  • Offline Usage: This skill strictly requires an internet connection to function as it does not cache market data locally.

Metadata

Author@hacksing
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-hacksing-allstock-data": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#stocks#finance#market-data#investing#real-time
Safety Score: 5/5

Flags: network-access, external-api