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

stock-daily-report

A 股每日报告生成器 - 含 K 线图、技术指标、市场分析(仅供学习参考)

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bo170814/stock-daily-report
Or

What This Skill Does

The stock-daily-report skill is a sophisticated automation tool designed for A-share investors and enthusiasts who require streamlined market analysis. It functions as a specialized reporting engine that aggregates data from Sina Finance to generate comprehensive daily summaries. The skill bridges the gap between raw data and actionable insight by producing visual K-line charts, calculating technical indicators (MACD, KDJ), and assessing market sentiment. By offering both HTML and high-quality PNG formats, it provides flexibility for local record-keeping or sharing via mobile communication platforms.

Installation

To install this skill, use the ClawHub command clawhub install stock-daily-report. Following the installation, navigate to the local skill directory. Ensure your environment has Python 3.6+ installed. The skill relies on matplotlib for graph generation and pyppeteer for HTML-to-image rendering. You must also install appropriate CJK (Chinese, Japanese, Korean) fonts on your Linux system (e.g., fonts-noto-cjk) to ensure the charts render Chinese characters correctly. The included install.sh script automates these dependency checks.

Use Cases

  1. Morning Market Briefing: Before the market opens, generate a summary of your specific watchlist to plan your trading strategy.
  2. Automated Trading Log: Set up a crontab task to generate and archive reports every trading day at 9:25 AM, creating a persistent history of stock performance.
  3. Portfolio Monitoring: Use the configuration file to track multiple stocks simultaneously, allowing for side-by-side comparison of technical ratings and risk indicators.
  4. Social Sharing: Utilize the PNG export function to quickly share a clean, professional market analysis image with peers or within investment groups.

Example Prompts

  1. "OpenClaw, generate a daily stock report for my watchlist defined in the config.json file."
  2. "Please run the stock-daily-report skill for codes 600519 and 002973 and export the output as an image."
  3. "Can you set up a daily task that runs the stock-daily-report at 9:25 AM every Monday through Friday?"

Tips & Limitations

  • Safety & Disclaimer: This tool is strictly for educational and research purposes. It is not an investment advisory tool. Always verify data independently before making financial decisions.
  • Data Source: The reliability of the reports depends on the availability and accuracy of the public API (Sina Finance).
  • Performance: For large watchlists, generating long images can take several seconds due to the browser-rendering process used by pyppeteer.
  • Maintenance: Regularly update your system fonts if you notice blank squares appearing in place of Chinese characters on your charts.

Metadata

Author@bo170814
Stars3376
Views0
Updated2026-03-24
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-bo170814-stock-daily-report": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#finance#trading#stock-analysis#data-visualization#automation
Safety Score: 3/5

Flags: file-write, file-read, external-api, code-execution