akshare-cn-market

Retrieve China A-share and macro datasets as JSON via AKShare CLI.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Jaykaijack/openclaw-backup --skill akshare-cn-market
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: akshare-cn-market
Source: https://github.com/Jaykaijack/openclaw-backup/tree/main/skills/akshare-cn-market
Command: npx skills add https://github.com/Jaykaijack/openclaw-backup --skill akshare-cn-market

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires akshare, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Centralizes programmatic access to China A-share market data and key macroeconomic indicators so analysts and automation agents can reliably fetch historical K-lines, index series, financial summaries, sentiment pools, fund flows, and trade-calendar information without manual scraping or inconsistent sources.

Core Features & Use Cases

  • Stock & Index Time Series: Fetch individual stock historical K-lines (adjusted), common market indices, and recent bars for backtesting or reporting.
  • Macro Indicators & Bond Yields: Retrieve GDP, CPI, PMI, M0/M1/M2, and China-US bond yield comparisons for economic analysis.
  • Market Micro Data & Screening: Access sentiment pools (涨停/跌停/强势),龙虎榜,资金流向, and 北向资金 for short-term trading signals and post-trade analysis.
  • Trade Calendar Utilities: Check whether a date is a trading day, find next/previous trade days, and list trade days in a date range for scheduling and batch jobs.
  • Use Case: An analyst can produce a daily JSON report containing selected stocks' last N daily bars, sector fund-flow rankings, and the latest CPI and M2 readings for an automated morning briefing.

Quick Start

Fetch the last 10 daily K-line records for stock 000001 and the latest 12 months of CPI data as JSON.

Frequently Asked Questions about akshare-cn-market

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve historical A-share K-lines and macro data via akshare?

To retrieve historical A-share K-lines and macro data via akshare, you can use the provided CLI scripts to fetch individual stock historical bars, GDP, CPI, and M2 indicators, returning the results directly as JSON arrays.

Can I get northbound capital history and fund-flow rankings for short-term trading signals?

Yes, you can get northbound capital history and fund-flow rankings. The Skill provides programmatic access to market micro datasets including northbound capital history, sector fund flows, and sentiment pools for post-trade analysis.

Does this Skill support checking the China A-share trade calendar for batch job scheduling?

Yes, this Skill supports the China A-share trade calendar. It provides trade calendar utilities to check whether a specific date is a trading day, find next or previous trade days, and list trade days within a date range for scheduling batch jobs.

What is the best way to automate a daily morning briefing with China market data?

The best way to automate a daily morning briefing with China market data is to run the CLI scripts to fetch selected stock bars, fund-flow rankings, and the latest CPI readings, compiling the JSON array outputs into an automated daily report.

Are there limitations when fetching adjusted A-share stock time series with akshare?

A limitation when fetching adjusted A-share stock time series is that the Skill relies on the akshare Python bindings and supports data ranges only up to 2026, meaning historical requests beyond this boundary are not supported.

Do I need Python to use the akshare-cn-market Skill for macroeconomic analysis?

Yes, you need Python to use this Skill for macroeconomic analysis. It depends on the akshare Python package and exposes CLI scripts that execute Python bindings to retrieve macro indicators like PMI and China-US bond yields.