a-stock-kline-analyzer
A股K线分析工具v1.0.6 - 实时行情、技术指标(MA/MACD/RSI/布林带)、K线形态识别、量能分析(量比/换手率/量价关系)、超详细结构化分析报告、技术评分系统、明日走势预测、完整名词解释
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/amatuer718/a-stock-kline-analyzerWhat This Skill Does
The A-Stock Kline Analyzer is a comprehensive technical analysis toolkit designed for the Chinese stock market (A-shares). It provides traders and researchers with an automated pipeline to process market data. The skill bridges real-time price feeds from Sina Finance with historical data from Baostock to perform sophisticated technical analysis. It features advanced modules for calculating moving averages (MA), MACD, RSI, and Bollinger Bands. Beyond basic indicators, it includes automated K-line pattern recognition for signals like hammers and engulfing patterns, and a robust volume analysis module that evaluates volume ratios, turnover rates, and volume-price correlation. Users can generate structured, professional-grade technical analysis reports, visualize stock performance with generated plots, and access a quantitative technical scoring system to evaluate market sentiment.
Installation
To install this skill, use the OpenClaw command-line interface:
clawhub install openclaw/skills/skills/amatuer718/a-stock-kline-analyzer
Ensure you have Python 3.8+ installed on your system. You must also install the required dependencies using the following command:
pip3 install baostock pandas matplotlib --break-system-packages
Use Cases
- Pre-market Research: Generate a detailed technical report for your watch-list stocks to determine entry or exit points based on MACD and RSI signals.
- Trend Analysis: Visualize historical performance and volatility using Bollinger Bands and Moving Averages to confirm support and resistance levels.
- Short-term Trading: Use the volume analysis module to identify unusual volume spikes or changes in turnover that might indicate institutional accumulation or distribution.
- Automated Reporting: Quickly export structured technical summaries into JSON format for integration with other personal portfolio tracking tools or dashboards.
Example Prompts
- "Analyze stock 600409 for the last 60 days, generate a technical report, and create a chart for me."
- "What is the current technical trend and volume-price relationship for 300059? Please output the data in JSON format."
- "Provide a comprehensive technical evaluation for 688001 including RSI, MACD, and a score based on recent K-line patterns."
Tips & Limitations
- Data Source: This tool relies on Sina Finance and Baostock. Ensure your internet connection is stable, as real-time API calls require active network access.
- Disclaimer: This tool is designed strictly for educational and research purposes. Financial markets carry inherent risks; always conduct your own due diligence before executing trades. The "technical scoring system" is a statistical helper and not a substitute for financial advice.
- Performance: Generating large charts or fetching very long historical periods may take several seconds depending on your machine's processing speed and network latency.
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-amatuer718-a-stock-kline-analyzer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, external-api, code-execution