If you need Chinese market data without wrestling with exchange APIs or paid Bloomberg terminals, this is your straightforward option. Pulls real-time and historical data from Shanghai, Shenzhen, and Hong Kong exchanges, plus futures, funds, and macro indicators like GDP and CPI. The library returns everything as pandas DataFrames, which is convenient, but there's no built-in caching or rate limiting, so you'll need to handle that yourself. Best for building dashboards, backtesting strategies, or analyzing A-shares without the usual data access headaches. Just be aware it's community-maintained, so documentation quality varies and some functions may break when data sources change.

skills.sh installs
1.8K
GitHub stars
11
last updated
Aug 21, 2026

Install

$ npx -y skills add succ985/openclaw-akshare-skill --skill akshare --agent claude-code

Installs into .claude/skills of the current project.

Files

AkShare - Chinese Financial Data

Overview

AkShare is a free, open-source Python library for accessing Chinese financial market data. This skill provides guidance for fetching data from Chinese exchanges including Shanghai Stock Exchange, Shenzhen Stock Exchange, Hong Kong Exchange, and more.

Quick Start

Install AkShare:

pip install akshare

Basic stock quote:

import akshare as ak
df = ak.stock_zh_a_spot_em()  # Real-time A-share data

Stock Data

A-Shares (A股)

Real-time quotes:

# All A-shares real-time data
df = ak.stock_zh_a_spot_em()

# Single stock real-time quote
df = ak.stock_zh_a_spot()

Historical data:

# Historical daily data
df = ak.stock_zh_a_hist(symbol="000001", period="daily", start_date="20240101", end_date="20241231", adjust="qfq")

Stock list:

# Get all A-share stock list
df = ak.stock_info_a_code_name()

Hong Kong Stocks (港股)

Real-time quotes:

df = ak.stock_hk_spot_em()

Historical data:

df = ak.stock_hk_hist(symbol="00700", period="daily", adjust="qfq")

US Stocks (美股)

Sponsors

Details

Repository
github.com/succ985/openclaw-akshare-skill
Category
Finance & Trading
1anthropics avatarequity-researchanthropics/financial-services-pluginsequity research1.8Kskills.sh installs
2anthropics avatartax-season-organizeranthropics/knowledge-work-pluginsPrepares tax-season materials for small business owners — framed as deliverables for their accountant, not tax advice. Two modes: (1) quarterly estimated tax ca1.7Kskills.sh installs
3alchemyplatform avataralchemy-apialchemyplatform/skillsWire Alchemy into application code (server, backend, dApp, script) using a standard API key. Preferred app-integration path for normal server/backend usage. Cov1.7Kskills.sh installs
4nvidia avatarcufolionvidia/skillsUse when a user asks to build, optimize, backtest, rebalance, or analyze a stock portfolio with Mean-CVaR, efficient frontiers, scenario generation, or NVIDIA c1.7Kskills.sh installs
5hypier avatartradingview-quantitativehypier/tradingview-quantitative-skillsProfessional quantitative investment analysis system based on TradingView data. Provides intelligent stock screening, technical pattern recognition, market revi1.5Kskills.sh installs
6affaan-m avatarito-basket-compareaffaan-m/eccCompare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only bask1.5Kskills.sh installs