Markets and trading · Independent · 23 Oct 2026

akfamily/akshare

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

← Markets and trading
AKShare: financial data library. Pulls financial market data into Python scripts.

In simple English

This tool downloads financial numbers into your Python scripts with one line of code. It pulls stock prices, bond figures, and economic indicators from public websites. You can use it to test trading strategies or build your own market dashboard. It costs nothing to use, but public websites often change their layout and break the data feed. You will need to update the library often to keep things working.

What it is

AKShare is a financial data interface library for Python (a programming language used for data analysis and software building). It aggregates data from multiple public sources into a single set of functions.

What it is good for

Solo builders and researchers who need historical or real-time market data for Chinese stocks, bonds, futures, and macroeconomic indicators without paying for a commercial data provider.

Stars23k
LicenceMIT
Latestrelease-v1.19.1 (2026-09-30)checked 23 Oct 2026
Last code change2026-10-23
Written inPython
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Pulls hundreds of financial data series with simple function calls.
  • Includes an offline search tool to find the right function name from keywords.
  • Free to use under an open-source licence with no required subscription.
Watch for
  • Relies on public web pages, so upstream layout changes often break specific functions.
  • Documentation is primarily in Chinese, which can slow down non-native readers.
  • Requires Python 3.11 or higher and some coding skill to parse and store the data.
Replaces

Paid financial data feeds and manual web scraping of exchange tables.

Works well with

Pandas for data cleaning and mplfinance for drawing candlestick charts.

Similar repositories
  • waditu/tushare15k stars

    Another popular Python library for financial data focused on Chinese markets, requiring a token and registration.

Also reviewed on Repo Radar
  • jesse-ai/jesse8.7k stars

    A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.

  • hummingbot/hummingbot20k stars

    A free framework for writing and running automated trading programs on cryptocurrency exchanges.

  • lballabio/QuantLib7.7k stars

    The long-established free library for pricing and risk-managing financial instruments.

Install
source venv/bin/activate
pip install akshare --upgrade

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Trading & Investing › Market Data & Connectivity › Market Data APIs.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.