Finance data

From zhaoxinyi02/ClawPanel-Plugins · View interactive version

Finance data is an AI agent skill from the GitHub repository zhaoxinyi02/ClawPanel-Plugins. Query A/HK stock prices, financial indicators, market news, and China macroeconomic data (GDP, CPI, PMI, etc.). **Triggers when user mentions:** - Market news: "市场消息", "市场动态", "财经新闻", "最新新闻", "有什么值得关注", "市场热点", "投资热点", "市场机会", "市场怎么看", "股市如何" - Stock queries: "股价", "股票价格", "查询股票", "股票代码", "股票怎么样" -

How to use this skill

Skill file

Finance Data Skill

Query Chinese and Hong Kong financial market data with comprehensive tools.

Feature to Reference Mapping

| Feature | Reference Document |

|---------|-------------------|

| Search stock/fund codes | references/search_stock.md |

| Get stock info (price + indicators) | references/get_stock_info.md |

| Query specific indicators (PE, PB, ROE) | references/query_indicator.md |

| A-share real-time data | references/mcp_query.md |

| A/HK stock prices | references/stock_query.md |

| Fund NAV | references/fund_query.md |

| Financial reports | references/financial_report.md |

| Stock news | references/stock_news.md |

| Historical prices | references/history_price.md |

| Company announcements | references/stock_announcements.md |

| Market news (real-time) | references/market_news.md |

| Macroeconomic data (GDP, CPI, etc.) | references/economic_data.md |

References

Quick Start

Step 1: Search for Code (if user provides NAME)

# Search A-share stock
{baseDir}/tools/query.sh search "茅台"
# Returns: 600519

# Search HK stock
{baseDir}/tools/query.sh search "腾讯"
# Returns: HK00700

# Search fund
{baseDir}/tools/query.sh search "易方达" fund
# Returns: 110011

Step 2: Query Data

# Get comprehensive info (recommended)
{baseDir}/tools/query.sh info 600000
{baseDir}/tools/query.sh info HK00700

# Stock price
{baseDir}/tools/query.sh stock 600000
{baseDir}/tools/query.sh stock HK00700

# Fund NAV
{baseDir}/tools/query.sh fund 110011

# Financial report (comprehensive)
{baseDir}/tools/query.sh financial 600519
{baseDir}/tools/query.sh financial HK00700

# Stock news
{baseDir}/tools/query.sh news 600000 5

# Historical price
{baseDir}/tools/query.sh history 600000 30

# Company announcements
{baseDir}/tools/query.sh announcements 600000 3

# Market news (real-time) ⭐
{baseDir}/tools/query.sh market-news
{baseDir}/tools/query.sh market-news 30

# Market news (policy) ⭐
{baseDir}/tools/query.sh market-news --policy

# Economic data ⭐
{baseDir}/tools/query.sh economic gdp
{baseDir}/tools/query.sh economic cpi
{baseDir}/tools/query.sh economic pmi
{baseDir}/tools/query.sh economic all

Available Tools

| Tool | Function | Data Source | Reference |

|------|----------|-------------|-----------|

| search_stock.py | Search codes by name | akshare | references/search_stock.md |

| get_stock_info.py | Get comprehensive info | MCP + akshare | references/get_stock_info.md |

| query_indicator.py | Query specific indicators | MCP + akshare | references/query_indicator.md |

| mcp_query.py | A-share real-time | MCP server | references/mcp_query.md |

| stock_query.py | A/HK stock prices | akshare | references/stock_query.md |

| fund_query.py | Fund NAV | akshare | references/fund_query.md |

| financial_report.py | Comprehensive financials | akshare | references/financial_report.md |

| stock_news.py | Stock news | akshare | references/stock_news.md |

| history_price.py | Historical prices | akshare | references/history_price.md |

| stock_announcements.py | Company announcements | akshare | references/stock_announcements.md |

| market_news.py | Market news (real-time) | Caixin/CCTV | references/market_news.md |

| economic_data.py | Macroeconomic indicators | akshare | references/economic_data.md |

Symbol Format

A-shares

HK stocks

Search by Name

# If unsure about code, search by name first
{baseDir}/tools/query.sh search "股票或基金名称"

Examples

Get Stock Info (Recommended)

"贵州茅台现在怎么样?"

{baseDir}/tools/query.sh info 600519
# Returns: price, PE, PB, change_pct

"腾讯控股的公司信息"

{baseDir}/tools/query.sh info HK00700
# Returns: price, PE, PB + company profile, industry, chairman

Search by Name

"腾讯控股的股价"

# Step 1: Search for code
{baseDir}/tools/query.sh search "腾讯"
# Returns: HK00700

# Step 2: Query price
{baseDir}/tools/query.sh stock HK00700

Query Financial Data

"腾讯的财务数据"

{baseDir}/tools/query.sh financial HK00700
# Returns: PE, PB, EPS, BVPS, dividend yield, ROE, ROA, revenue, profit, etc.

Query Market News

"最近市场有什么值得关注的"

{baseDir}/tools/query.sh market-news
# Returns: Latest market news from Caixin

"看看今天的财经新闻"

{baseDir}/tools/query.sh market-news 10
# Returns: 10 latest news items

Query Economic Data

"中国最新的 GDP 数据"

{baseDir}/tools/query.sh economic gdp
# Returns: GDP data with history

"看看 CPI 和通胀情况"

{baseDir}/tools/query.sh economic cpi
# Returns: CPI data with history

"最新的宏观经济数据摘要"

{baseDir}/tools/query.sh economic all
# Returns: Summary of GDP, CPI, PMI, M2, interest rates

Market Support

A-shares

HK Stocks

Funds

Data Sources

MCP Server (A-shares only)

Strengths:

Limitations:

akshare (A/HK stocks, Funds, Macro)

Strengths:

Limitations:

Setup

# Install akshare
pip3 install akshare -U

# Verify installation
python3 -c "import akshare; print('akshare OK')"

# Test
python3 {baseDir}/tools/get_stock_info.py 600000

Notes

Troubleshooting

"akshare not found"

pip3 install akshare -U

"Indicators not supported"

"Data not available"

"News query failed"

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.