AKShare Financial Data
HKUDS/Vibe-Trading
Pulls free market data from the AKShare Python library: A-share, US and Hong Kong prices, futures, China macro series and forex, with notes on symbol formats and Chinese column names.
AKShare财经数据接口库封装,提供股票、期货、期权、基金、外汇、债券、指数、加密货币等金融产品的基本面数据、实时和历史行情数据、衍生数据。
$ npx skills add aifinlab/FinClaw --skill akshare-finance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aifinlab/FinClaw akshare-finance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/akshare-finance .claude/skills/akshare-finance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "akshare-finance" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-finance into .claude/skills/akshare-finance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "akshare-finance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-financeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aifinlab/FinClaw --skill akshare-finance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aifinlab/FinClaw akshare-finance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/akshare-finance .agents/skills/akshare-finance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "akshare-finance" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-finance into .agents/skills/akshare-finance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "akshare-finance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aifinlab/FinClaw --skill akshare-finance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aifinlab/FinClaw akshare-finance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/akshare-finance .cursor/skills/akshare-finance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "akshare-finance" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-finance into .cursor/skills/akshare-finance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "akshare-finance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aifinlab/FinClaw.git --path skills/akshare-finance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aifinlab/FinClaw --skill akshare-finance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aifinlab/FinClaw akshare-finance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/akshare-finance .gemini/skills/akshare-finance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "akshare-finance" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-finance into .gemini/skills/akshare-finance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "akshare-finance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aifinlab/FinClaw akshare-financeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aifinlab/FinClaw --skill akshare-finance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/akshare-finance .github/skills/akshare-finance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "akshare-finance" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-finance into .github/skills/akshare-finance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "akshare-finance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aifinlab/FinClaw --skill akshare-finance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aifinlab/FinClaw akshare-finance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/akshare-finance .opencode/skills/akshare-finance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "akshare-finance" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/akshare-finance into .opencode/skills/akshare-finance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "akshare-finance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
akshare-financeAKShare财经数据接口库封装,提供股票、期货、期权、基金、外汇、债券、指数、加密货币等金融产品的基本面数据、实时和历史行情数据、衍生数据。
Akshare Finance is an agent skill from aifinlab/FinClaw. AKShare财经数据接口库封装,提供股票、期货、期权、基金、外汇、债券、指数、加密货币等金融产品的基本面数据、实时和历史行情数据、衍生数据。
Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `_meta.json`, `references/README.md` and `scripts/crypto_price.py`).
The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9e62862. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
akshare.akfamily.xyzgithub.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Akshare Finance loads about 657 tokens when it runs, and up to ~991 if it reads all its reference files. Until then it costs about 22 tokens; SKILL.md has 44 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 44 words, ~657 tokens.
.claude/skills/akshare-finance/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.# 安装依赖
pip install akshare pandas
# 测试安装
python -c "import akshare; print(akshare.__version__)"import akshare as ak
# A股实时行情
stock_zh_a_spot_em() # 东方财富A股
# 股票K线数据
stock_zh_kline(symbol="000001", period="daily", adjust="qfq")
# 港股行情
stock_hk_spot_em() # 港股实时
# 美股
stock_us_spot() # 美股实时# GDP数据
macro_china_gdp() # 中国GDP
# CPI通胀
macro_china_cpi() # 中国CPI
# PMI采购经理指数
macro_china_pmi() # 中国PMI
# 货币供应量
macro_china_m2() # M2广义货币# 币种列表
crypto_binance_symbols() # 币安交易对
# 实时价格
crypto_binance_btc_usdt_spot() # BTC/USDT
# K线数据
crypto_binance_btc_usdt_kline(period="daily")# 外汇汇率
forex_usd_cny() # 美元兑人民币
# 贵金属
metals_shibor() # 上海银行间拆借利率
# 金银价格
metals_gold() # 国际金价# 股票基本面
stock_fundamental(symbol="000001") # 基本面数据
# 估值指标
stock_valuation(symbol="000001") # PE、PB等
# 盈利能力
stock_profit_em(symbol="000001")import akshare as ak
import pandas as pd
# 监控自选股
tickers = ["000001", "000002", "600519"]
for ticker in tickers:
df = ak.stock_zh_kline(symbol=ticker, period="daily", adjust="qfq", start_date="20240101")
latest = df.iloc[-1]
print(f"{ticker}: 收盘价={latest['close']}, 涨跌幅={latest['pct_chg']}%")# A股大盘
index_zh_a_spot() # 大盘指数
# 涨跌幅排行
stock_zh_a_spot_em()[['代码', '名称', '涨跌幅']].sort_values('涨跌幅', ascending=False)默认返回Pandas DataFrame,可直接处理:
df = ak.stock_zh_a_spot_em()
print(df.head()) # 查看前5行
print(df.columns) # 查看列名
df.to_csv("data.csv") # 保存CSV# 调用 skill
result = run_skill({
"param1": "value1",
"param2": "value2"
})python scripts/run_skill.py --input data.json© aifinlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (scripts, references) in skills/akshare-finance of aifinlab/FinClaw.
Open the folder on GitHubat commit 9e62862
Akshare Finance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Akshare Finance this skillaifinlab/FinClaw | 255 | — | ~657 | Automated safety check: Pass | Apache-2.0 | |
| AKShare Financial DataHKUDS/Vibe-Trading | 35k | — | ~777 | Automated safety check: Pass | MIT | |
| Aksharelzwme/finance-quant-skills | 441 | — | ~1.1k | Automated safety check: Pass | None | |
| Akshare Online AlphaLeoYeAI/openclaw-master-skills | 2.2k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Akshare Finance Datawentorai/research-plugins | 298 | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Mootdx A-Share DataHKUDS/Vibe-Trading | 35k | — | ~1.2k | Automated safety check: Pass | MIT |
HKUDS/Vibe-Trading
Pulls free market data from the AKShare Python library: A-share, US and Hong Kong prices, futures, China macro series and forex, with notes on symbol formats and Chinese column names.
lzwme/finance-quant-skills
AKShare 开源金融数据接口库,提供股票、期货、期权、基金、外汇、债券、指数、加密货币等全品类金融数据;当用户需要获取各类金融市场数据时使用
LeoYeAI/openclaw-master-skills
Run Wyckoff master-style analysis from stock codes, holdings (symbol/cost/qty), cash, CSV data, and optional chart images.
wentorai/research-plugins
Access Chinese and global financial data using the AkShare Python library
HKUDS/Vibe-Trading
Pulls A-share price data from 通达信 (TDX) servers through the mootdx library over TCP, free and without an API key, as a stable fallback when akshare scraping is throttled.
lzwme/finance-quant-skills
Backtrader 开源量化回测框架,支持多数据源、多策略、多周期回测与实盘交易,纯Python实现。当用户需要开发量化策略、进行回测分析、编写交易逻辑、回测参数优化,或提及 backtrader、量化回测框架时使用。若用户仅需数据获取而无回测需求,引导使用 baostock/akshare/tushare 等数据 Skill。
aifinlab/FinClaw
A skill your agent uses when the user asks for help with corporate credit due diligence, enterprise credit investigation, pre-loan review, borrower analysis, document collection, management…
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate-risk monitoring assistant for enterprise litigation/penalty/enforcement scanning (处罚/诉讼/被执行/失信等).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate client operating-volatility monitoring assistant (经营监测/指标波动/预警解释).
aifinlab/FinClaw
A skill your agent uses when you need a bank post-loan visit follow-up assistant to turn visit notes/materials into a structured memo (摘要/关键更新/风险观察/用途核验/行动项).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate credit issue-list assistant (问题清单/补件清单/催办台账).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate credit approval-opinion drafting assistant (审批意见/条款建议/有条件同意).
AKShare财经数据接口库封装,提供股票、期货、期权、基金、外汇、债券、指数、加密货币等金融产品的基本面数据、实时和历史行情数据、衍生数据。. Akshare Finance is an agent skill from aifinlab/FinClaw.
Run `npx skills add aifinlab/FinClaw --skill akshare-finance -a claude-code`. Or copy the skill folder (skills/akshare-finance in aifinlab/FinClaw) into .claude/skills/akshare-finance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aifinlab/FinClaw --skill akshare-finance -a codex`. Or copy the skill folder (skills/akshare-finance in aifinlab/FinClaw) into .agents/skills/akshare-finance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aifinlab/FinClaw --skill akshare-finance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/akshare-finance, .gemini/skills/akshare-finance, .github/skills/akshare-finance and .opencode/skills/akshare-finance in your project.
Going by SKILL.md and its folder, Akshare Finance needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.
SKILL.md names 2 domains. As links in the text: akshare.akfamily.xyz and github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Akshare Finance is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 657 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 334 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Akshare Finance: AKShare Financial Data (HKUDS/Vibe-Trading, 35k stars), Akshare (lzwme/finance-quant-skills, 441 stars), Akshare Online Alpha (LeoYeAI/openclaw-master-skills, 2.2k stars) and Akshare Finance Data (wentorai/research-plugins, 298 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 255 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on May 13, 2026.
Source: aifinlab/FinClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.