Skip to content

AKShare Financial Data

Fetch free Chinese and global stock, futures, macro and forex data via the AKShare Python library

Stars
37,433
Licence
MIT
Files
1 file

What it does

This skill teaches the agent how to pull market data from AKShare, a free open-source Python library that aggregates public financial sources such as Sina and East Money. Once installed, the agent knows the right function names, symbol formats (for example 000001 for A-shares or 105.AAPL for US stocks), date formats and the Chinese column names AKShare returns, so it can write working code to get daily prices, intraday bars, real-time quotes, GDP, CPI, futures and forex rates without you looking up the API.

Great for

  • Analysts who need free historical prices for A-shares, Hong Kong or US stocks
  • Developers building backtests or dashboards that need Chinese market data without an API key
  • Users whose other data sources (tushare, yfinance) are unavailable and need a fallback

Skip it if

  • Production trading decisions that need guaranteed uptime or licensed exchange data, because AKShare scrapes public sites that can change or block requests
  • Users who need an official, supported data contract, since the library is community-maintained and the skill only documents a subset of its functions

Try asking

  • “Get the last two years of daily adjusted prices for Ping An Bank (000001) and chart them”
  • “Pull Apple (105.AAPL) and Tencent (00700) daily OHLCV data and compare returns”
  • “Fetch China's latest CPI and GDP series into a pandas DataFrame”
  • “Get intraday 5-minute bars for a given A-share stock”
Step-by-step guide: how to use AKShare Financial DataInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    akshare.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip akshare.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip akshare.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask for the exact symbol format you need, such as 105 prefix for NASDAQ or 106 for NYSE, to avoid lookup errors
  • Convert the returned Chinese column names to English with the mapping table in the skill before analysis
  • Check the official AKShare docs for less common interfaces, since this skill covers only about ten common ones

What's inside

  • SKILL.md

Redistributed unmodified from HKUDS/Vibe-Trading under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.