New advertisers: 50% off your first month with code FIRSTMONTHSee slots

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
View on GitHub

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 -y

Installs 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