finds.dev

akfamily/akshare

AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库

View on GitHubHomepage ↗

★ 23,040PythonMITupdated Oct 2026

// the take

AKShare is a Python library that wraps hundreds of Chinese financial data sources (East Money, Sina Finance, exchanges, macro data providers) behind one consistent function-call interface. It's aimed at Chinese quant researchers and developers who need stock, bond, futures, options and macro data without paying for a Bloomberg/Wind terminal.

The breadth is genuinely useful — hundreds of interfaces covering equities, bonds, futures, options, funds, forex and macro indicators across mainland, HK and US markets, mostly reachable in one line. The offline interface registry (ak.search, ak.interface_info) lets you resolve a Chinese-language description to a callable name without a network round-trip, which is a nice touch for scripting or LLM tool-use. CI is real (ruff linting, GitHub Actions on every push) and the project ships frequent releases rather than going stale.

Almost every interface is an unofficial scraper against a third-party website's internal API, not a documented data provider — when East Money or Sina change their frontend, the corresponding ak.* function breaks with no warning, and the README itself admits interfaces 'may be removed' due to factors outside the maintainers' control. There's no rate limiting or caching in the library, so calling these in a loop risks getting your IP blocked by the source site, and you're on the hook for building retry/backoff yourself. Function naming is a flat namespace of hundreds of similarly-shaped names (stock_zh_a_hist vs stock_zh_a_sina vs stock_zh_a_tx) with no versioned schema guarantee, so column names and formats can shift between releases without a deprecation path. There's no SLA or commercial support — the project explicitly disclaims the data as reference-only, which matters if you're building anything that touches real trading decisions.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
23,040
Forks
3,552
Language
Python
License
MIT
Last commit
21 Oct 2026

// nearby

If akshare isn't quite it.

All repos →