akshare
Chinese financial data access using AkShare library. Fetch real-time and historical data for A-shares, Hong Kong stocks, US stocks, futures, funds, and macroeconomic indicators. Use when user requests Chinese market data, stock prices, market analysis, or financial information from Chinese exchanges
By succ985 · 1,772 installs
npx skills add succ985/openclaw-akshare-skill --skill akshare
Source repository · Upstream listing
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:
Basic stock quote:
Stock Data
A Shares (A股)
Real time quotes:
Historical data:
Stock list:
Hong Kong Stocks (港股)
Real time quotes:
Historical data:
US Stocks (美股)
Real time data:
Futures Data (期货)
Real time futures:
Historical futures:
Fund Data (基金)
Fund list:
Fund historical data:
Macroeconomic Indicators (宏观)
GDP data:
CPI data:
PMI data:
Common Parameters
Period (周期):
daily 日线
weekly 周线
monthly 月线
Adjustment (复权):
qfq 前复权
hfq 后复权
"" 不复权
Tips
1. Data caching : AkShare doesn't cache data, implement your own caching if needed
2. Rate limiting : Be mindful of request frequency to avoid being blocked
3. Data format : Returns pandas DataFrame, can be easily processed
4. Error handling : Network errors may occur, implement retry logic
References
For complete API documentation and advanced usage, see:
[references/akshare api.md](references/akshare api.md) Detailed API reference
[references/common functions.md](references/common functions.md) Commonly used functions
[https://akshare.akfamily.xyz/](https://akshare.akfamily.xyz/) Official documentation