npx skills add ...
npx skills add succ985/openclaw-akshare-skill --skill 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. Supports stock quotes, historical data, futures market data, fund information, macroeconomic indicators, and real-time market updates.
npx skills add succ985/openclaw-akshare-skill --skill akshare
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.
Install AkShare:
Basic stock quote:
Real-time quotes:
Historical data:
Stock list:
Real-time quotes:
Historical data:
Real-time data:
Real-time futures:
Historical futures:
Fund list:
Fund historical data:
GDP data:
CPI data:
PMI data:
Period (周期):
daily - 日线weekly - 周线monthly - 月线Adjustment (复权):
qfq - 前复权hfq - 后复权"" - 不复权For complete API documentation and advanced usage, see:
# Historical daily data
df = ak.stock_zh_a_hist(symbol="000001", period="daily", start_date="20240101", end_date="20241231", adjust="qfq")# Get all A-share stock list
df = ak.stock_info_a_code_name()df = ak.stock_hk_spot_em()df = ak.stock_hk_hist(symbol="00700", period="daily", adjust="qfq")df = ak.stock_us_spot_em()# Commodity futures
df = ak.futures_zh_spot()df = ak.futures_zh_hist_sina(symbol="IF0")df = ak.fund_open_fund_info_em()df = ak.fund_open_fund_info_em(fund="000001", indicator="单位净值走势")df = ak.macro_china_gdp()df = ak.macro_china_cpi()df = ak.macro_china_pmi()