akshare-cn-market
中国A股行情与宏观经济数据工具,基于 AKShare 库。支持个股K线、大盘指数、财务摘要、GDP/CPI/PMI/M2货币供应、中美国债收益率等。
Why use this skill?
Integrate comprehensive Chinese A-share market, macro-economic, and sentiment data into your AI agent with the akshare-cn-market skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/geoion/akshare-cn-marketWhat This Skill Does
akshare-cn-market is a powerful OpenClaw AI agent skill designed to bridge the gap between complex financial market data and actionable insights. Leveraging the robust AKShare Python library, this skill provides comprehensive access to Chinese A-share market information, macroeconomic indicators, and sophisticated trading sentiment data. It is engineered to allow AI agents to fetch real-time and historical K-line data, financial statements, macroeconomic trends (GDP, CPI, PMI), and market microstructure data like limit-up boards and Dragon-Tiger lists.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/geoion/akshare-cn-market
Ensure that you have the necessary dependencies installed by running pip install akshare pandas. This ensures the underlying engine can effectively parse and return structured JSON data for your agent to process.
Use Cases
This skill serves a variety of financial analysis workflows:
- Quantitative Research: Automate the collection of historical stock prices and macroeconomic indicators for model backtesting or pattern recognition.
- Daily Market Recap: Generate automated reports summarizing market index performance, sentiment data, and high-momentum stocks (e.g., limit-up pools).
- Fundamental Analysis: Pull 5-year financial summaries for specific tickers to help the AI evaluate company performance metrics.
- Short-term Trading Support: Monitor market mood through Dragon-Tiger list analysis and funds flow data to provide tactical advice.
Example Prompts
- "Fetch the latest daily K-line data for 600519 and tell me the current trend based on the last 20 trading sessions."
- "What was the GDP and CPI growth for the most recent periods? Compare these to the latest M2 money supply data."
- "Analyze today's limit-up board. Which sectors are showing the most strength and how many stocks hit their daily price limit?"
Tips & Limitations
- Data Integrity: While data is sourced from reputable platforms like Sina Finance and East Money, always perform a sanity check on high-stakes trading data.
- Rate Limiting: Be mindful of frequent requests during high-traffic market hours to avoid potential IP blocking from data providers.
- Date Formatting: Ensure all dates provided to the API functions follow the YYYYMMDD format to maintain compatibility with the AKShare backend.
- Scope: This tool is specifically optimized for the Chinese A-share market; it does not support international equity markets or crypto-assets.
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-geoion-akshare-cn-market": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
xmind-generator
Generate XMind mind map files (.xmind) from Markdown outlines or plain text descriptions. Use when a user asks to create a mind map, visualize a structure, or export to XMind format. Supports both Markdown outline syntax (# headings, - bullets, indentation) and free-form text descriptions. Output is saved as a .xmind file in the workspace directory, openable directly in XMind app.
s1cli
Stage1st (S1) 论坛命令行工具,基于 s1cli Python 包。支持登录/登出、浏览版块和帖子、发帖/回帖、搜索帖子、每日签到、查看个人信息、配置管理。当用户询问「S1」「Stage1st」「一阶段论坛」的操作,或要求浏览/发帖/搜索/签到/回帖时使用此 skill。需要已安装 s1cli(pip install s1cli 或 pip install -e /path/to/s1cli)。