Python library for Chinese market data covering A-shares, Hong Kong, US stocks, futures, funds, and macro indicators.
- skills.sh installs
- 1.8K
- GitHub stars
- 11
- last updated
- Aug 21, 2026
What it does
- Covers real-time quotes and historical daily, weekly, and monthly bars across A-shares, Hong Kong stocks, and US stocks
- Includes futures spot and history calls, open-end fund NAV series, and macro series for GDP, CPI, and PMI
- Documents the
qfq,hfq, and unadjusted options for price adjustment, and notes that results come back as pandas DataFrames - Designed for Python analysts who need Chinese exchange data and must add their own caching and retry logic
Install
$ npx -y skills add succ985/openclaw-akshare-skill --skill akshare -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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 (美股)
Details
- Repository
- github.com/succ985/openclaw-akshare-skill
- Categories
- Finance & Trading, Data Science & Analytics, Python
Similar to Akshare
More Finance & Trading
tushare-financeSkillstanleychanh/tushare-finance-skill-for-claude-code5.2K installsPython-based access to over 220 Tushare Pro endpoints for China, Hong Kong, and US market data.
FinanceMCPMCP serverguangxiangdebizi874 starsReal-time and historical market data across A-shares, Hong Kong, US, crypto, funds, and macro indicators.
a-stock-dataSkillsimonlin1212/a-stock-data1.2K installsA-share market data toolkit spanning fifteen layers, 87 endpoints, and 34 sources, with zero external files.
AkTools MCP ServerMCP serveraahl392 starsMarket data for A-shares, Hong Kong and US stocks, and crypto via akshare and OKX.
findata-toolkit-cnSkillgeeksfino/finskills335 installsA-share market toolkit that pulls live quotes, financial metrics, and China macro indicators via free AKShare data.
daily-stock-analysisSkillreason-machines/trending-skills1.9K installsLLM-powered analyzer for A-share, Hong Kong, and US stocks that pushes daily decision dashboards on a schedule.
