Provides access to AKShare, a free Python financial data library covering A-shares, US, HK, futures, macro, and forex markets. No API key required.
Ships in vibe-trading-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AKShare is a completely free, open-source Python financial data library. No registration or API key required. It aggregates data from public sources (Sina, East Money, etc.) covering Chinese and global markets.
pip install aksharefrom src.data_gateway.skill_sources import akshare_query
# A-share daily OHLCV (前复权)
df = akshare_query("stock_zh_a_hist_em", symbol="000001", period="daily",
start_date="20240101", end_date="20260101", adjust="qfq")
# US stock daily
df = akshare_query("stock_us_hist_em", symbol="105.AAPL", period="daily",
start_date="20240101", end_date="20260101", adjust="qfq")
# HK stock daily
df = akshare_query("stock_hk_hist_em", symbol="00700", period="daily",
start_date="20240101", end_date="20260101", adjust="qfq")
| Function | Description | Key Params |
|---|---|---|
stock_zh_a_hist_em() | A-share OHLCV | symbol, period, start_date, end_date, adjust |
stock_zh_a_spot_em() | Real-time A-share quotes | (none) |
stock_individual_info_em() | Stock basic info | symbol |
stock_zh_a_hist_min_em() | Intraday bars | symbol, period(1/5/15/30/60) |
| Function | Description | Key Params |
|---|---|---|
stock_us_hist_em() | US stock OHLCV | symbol (e.g. "105.AAPL"), period, start_date, end_date |
stock_hk_hist_em() | HK stock OHLCV | symbol (e.g. "00700"), period, start_date, end_date |
| Function | Description |
|---|---|
macro_china_gdp() | China GDP data |
macro_china_cpi() | China CPI data |
futures_main_sina() | Futures main contract quotes |
fx_boc_rate_sina() | BOC forex rates |
AKShare returns Chinese column names by default:
| Chinese | English | Description |
|---|---|---|
| 日期 | date | Trade date |
| 开盘 | open | Open price |
| 最高 | high | High price |
| 最低 | low | Low price |
| 收盘 | close | Close price |
| 成交量 | volume | Volume |
| 成交额 | amount | Turnover |
| 涨跌幅 | pct_change | % change |
| 换手率 | turnover_rate | Turnover rate |
YYYYMMDD string (e.g. "20240101")日期 column as string, convert with pd.to_datetime()"000001" (no .SZ suffix)"105.AAPL" (NASDAQ prefix 105), "106.BABA" (NYSE prefix 106)"00700" (5-digit zero-padded)The project has a built-in AKShare DataLoader at backtest/loaders/akshare_loader.py. When backtesting, the runner automatically falls back to AKShare when tushare/yfinance are unavailable.
For less common interfaces, see the references/ subdirectory or the official docs at https://akshare.akfamily.xyz/
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/hkuds-vibe-trading-skills:aksharefrom vibe-trading-skills
Generated from the plugin's indexed repository (hkuds/vibe-trading) — no native marketplace selected
npx claudepluginhub p/hkuds-vibe-trading-skills89 skills in this plugin
/adr-hshareADR/H-share/A-share cross-listing premium analysis — track pricing gaps between US-listed ADRs, HK-listed H-shares, and A-shares for arbitrage signals, dual-listing valuation, and delisting risk assessment./alpha-zooBrowse and bench the bundled alpha zoos — prebuilt cross-sectional factor libraries (Kakushadze 101, GTJA 191, Qlib 158, Fama-French / Carhart). Use when the user asks "which alphas exist", wants metadata on a named alpha, or wants to run IC/IR on a whole zoo over a universe./ashare-pre-st-filterA 股 ST/*ST 风险预测框架 — 基于最新中报/三季报或业绩预告/快报,预测下一财年是否会因营收、利润、净资产、分红不达标而被风险警示,并将新浪监管处罚记录作为独立证据面纳入风险等级。仅适用于 A 股,不预测财务造假。Other plugins' skills for the same job