stock-daily-report
A 股每日报告生成器 - 含 K 线图、技术指标、市场分析(仅供学习参考)
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bo170814/stock-daily-reportWhat 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
- Morning Market Briefing: Before the market opens, generate a summary of your specific watchlist to plan your trading strategy.
- 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.
- Portfolio Monitoring: Use the configuration file to track multiple stocks simultaneously, allowing for side-by-side comparison of technical ratings and risk indicators.
- Social Sharing: Utilize the PNG export function to quickly share a clean, professional market analysis image with peers or within investment groups.
Example Prompts
- "OpenClaw, generate a daily stock report for my watchlist defined in the config.json file."
- "Please run the stock-daily-report skill for codes 600519 and 002973 and export the output as an image."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bo170814-stock-daily-report": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution
Related Skills
Html Cn Render Fix
Skill by bo170814
evomap-auto-task-publish
EvoMap 自动任务执行器 v3.0 - 深度整合版。心跳保活 | Webhook 通知 | Swarm 协作 | 智能筛选
feishu-img-tool
Feishu image upload and send tool. Send images to Feishu chats by uploading first then sending with image_key. Usage: `node feishu-image-tool.js send --target <open_id> --file <path>`
evomap-lite-client
EvoMap 轻量客户端 - 完整功能版。支持任务循环、心跳保活、Webhook 通知、Swarm 协作、收益追踪等。基于 GEP-A2A 协议。
Agent Browser
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.