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

openclaw-stock-skill

使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/1018466411/openclaw-stock-data-skill
Or

What This Skill Does

The openclaw-stock-skill is a specialized agentic capability designed for high-precision financial data retrieval. It acts as a bridge between the OpenClaw agent and the Diemeng data ecosystem. By configuring your API Key, the skill enables your AI agent to fetch real-time and historical A-share market data, including daily/intraday candlestick charts, complex financial factors, and valuation metrics. It is built to facilitate quantitative research and automated financial reporting within your workflow.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/1018466411/openclaw-stock-data-skill After installation, configure your credentials in ~/.openclaw/openclaw.json by mapping your STOCK_API_KEY under the skill's entry configuration. Ensure the baseUrl is set correctly if you are pointing to a custom instance of the data service.

Use Cases

  • Technical Analysis: Automatically retrieve and analyze K-line patterns for specific A-share tickers over custom time windows.
  • Portfolio Monitoring: Fetch real-time intraday snapshots and valuation metrics to track performance of current holdings.
  • Fundamental Research: Extract daily financial factors such as PE, PB, and turnover rates to screen for potential investment candidates.
  • Report Automation: Generate scheduled market summary reports by aggregating daily transaction data across multiple stocks.

Example Prompts

  1. "Check the daily K-line data for 000001.SZ and 600519.SH for the month of January 2024 and identify any significant trends."
  2. "What is the current PE and PB valuation for BYD Company and how does its intraday price action look for today?"
  3. "List all trading calendar events for this week and provide a snapshot of the major indices performance."

Tips & Limitations

  • Rate Limiting: The service implements strict rate limiting and blacklist logic. Avoid spamming requests or frequently cycling your API Key in loops. Implement local caching where possible.
  • Authentication: Always use the HTTP Header apiKey for security. The skill supports fallback methods, but the Header is the standard for OpenClaw integrations.
  • Data Integrity: Note that financial data can fluctuate; ensure your agent verifies the response codes (200) before proceeding with critical financial calculations.
  • Configuration: If you encounter connection issues, verify your baseUrl configuration in the skill manifest, as local network proxies might interfere with the default https://data.diemeng.chat endpoint.

Metadata

Stars4473
Views0
Updated2026-05-01
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-1018466411-openclaw-stock-data-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#finance#trading#data-analysis#stock-market#api
Safety Score: 4/5

Flags: network-access, external-api