← 返回
未分类

shishimfenxi

Use AKShare to answer Chinese market-data questions about A-shares, China indexes, open-end mutual funds, macro indicators, macro calendar events, and finance news flashes. Trigger on requests such as A股行情, 个股价格, 历史K线, 指数走势, 基金净值, 宏观数据, 财联社快讯, market overview, stock quote, fund NAV, macro calendar, or news flash. Prefer this skill when OpenClaw needs structured market data from AKShare instead of free-form web browsing.
Use AKShare to answer Chinese market-data questions about A-shares, China indexes, open-end mutual funds, macro indicators, macro calendar events, and finance news flashes. Trigger on requests such as A股行情, 个股价格, 历史K线, 指数走势, 基金净值, 宏观数据, 财联社快讯, market overview, stock quote, fund NAV, macro calendar, or news flash. Prefer this skill when OpenClaw needs structured market data from AKShare instead of free-form web browsing.
user_d33eb6ef
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 99
下载
💾 0
安装
1
版本
#latest

概述

A股市场数据

Use this skill to query a fixed whitelist of AKShare market datasets through the bundled CLI.

Workflow

  1. Convert relative dates to absolute YYYYMMDD before calling the script.
  2. Map the user's request to one of the supported subcommands in references/datasets.md.
  3. Run only the bundled script with OpenClaw exec:
python "{baseDir}/scripts/query_akshare.py" <subcommand> [args...]
  1. Read the JSON envelope from stdout.
  2. Reply in Chinese with a short summary plus the most relevant values from the returned rows.

Hard Rules

  • Use only python "{baseDir}/scripts/query_akshare.py" ....
  • Do not paste the user's raw request into shell pipelines.
  • Do not generate ad-hoc Python snippets to call AKShare directly.
  • Do not guess when a symbol match is ambiguous; surface the returned candidates.
  • Keep dates in YYYYMMDD.
  • Treat missing akshare as an environment issue and relay the install command from the error payload.

Supported Commands

  • market-overview
  • Return A-share market breadth, major indices, top 10 gainers, and top 10 losers.
  • stock-quote
  • Real-time A-share quote by code or exact name.
  • stock-history [--start-date YYYYMMDD] [--end-date YYYYMMDD] [--period daily|weekly|monthly] [--adjust none|qfq|hfq] [--limit N]
  • stock-profile
  • Company and security profile from Eastmoney.
  • index-quote
  • Real-time China index quote by code or exact name.
  • index-history [--start-date YYYYMMDD] [--end-date YYYYMMDD] [--period daily|weekly|monthly] [--limit N]
  • fund-quote
  • Open-end mutual fund daily NAV snapshot by code or exact name.
  • fund-history [--indicator unit_nav|acc_nav|acc_return] [--period 1m|3m|6m|1y|3y|5y|ytd|all] [--limit N]
  • macro-series
  • Supported aliases: china_cpi, china_pmi, china_rmb.
  • macro-calendar [--date YYYYMMDD] [--limit N]
  • news-flash [--scope all|important] [--limit N]

Command Examples

python "{baseDir}/scripts/query_akshare.py" market-overview
python "{baseDir}/scripts/query_akshare.py" stock-quote 000001
python "{baseDir}/scripts/query_akshare.py" stock-history 600519 --start-date 20260101 --end-date 20260313
python "{baseDir}/scripts/query_akshare.py" index-history 000300 --limit 60
python "{baseDir}/scripts/query_akshare.py" fund-history 000001 --indicator unit_nav --limit 60
python "{baseDir}/scripts/query_akshare.py" macro-series china_pmi
python "{baseDir}/scripts/query_akshare.py" macro-calendar --date 20260313
python "{baseDir}/scripts/query_akshare.py" news-flash --limit 10

Output Contract

Every success response is a JSON object with:

  • ok
  • dataset
  • akshare_function
  • resolved
  • params
  • columns
  • rows
  • row_count
  • truncated
  • as_of

Every failure response is a JSON object with:

  • ok: false
  • error.type
  • error.message
  • optional error.details

Error types are limited to:

  • missing_dependency
  • invalid_argument
  • unsupported_query
  • ambiguous_symbol
  • runtime_error

Summary Style

  • Lead with the direct answer in Chinese.
  • Mention the symbol or dataset that was resolved.
  • For quotes, include latest price and change fields when present.
  • For history, describe the date range covered by the returned rows.
  • For market overview, mention breadth and the main index moves.
  • For macro/news results, surface the latest or most important rows instead of dumping the whole payload.

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-04-28 08:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 274 📥 100,919
data-analysis

Stock Analysis

udiedrichsen
利用Yahoo Finance数据深度分析股票和加密货币。支持投资组合管理、关注列表与提醒、股息分析、八维度股票评分、热门趋势扫描(热点扫描器)及谣言/早期信号检测。适用于股票分析、投资组合追踪、财报反应、加密货币监控、热门股票发现及在主流
★ 279 📥 57,879
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 141,933