akshare

Fetch free financial data from AKShare across Chinese and global markets.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Liangwei-zhang/six-stock --skill akshare-liangwei-zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: akshare
Source: https://github.com/Liangwei-zhang/six-stock/tree/main/Vibe-Trading/agent/src/skills/akshare
Command: npx skills add https://github.com/Liangwei-zhang/six-stock --skill akshare-liangwei-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AKShare consolidates access to free, widely-sourced financial data across Chinese and global markets, removing the need for paid APIs or manual data gathering.

Core Features & Use Cases

  • Free, no registration required and no API key needed
  • Broad coverage: A-shares, US, HK, futures, macro, forex
  • Use cases include historical OHLCV data, stock metadata, and macro indicators for research or backtesting

Quick Start

Install akshare and fetch data using functions like stock_zh_a_hist, stock_us_hist, or stock_hk_hist to begin backtesting or analysis.

Frequently Asked Questions about akshare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch free historical market data for backtesting without an API key?

You can fetch free historical market data for backtesting without an API key by installing the akshare package in Python. It provides direct access to public financial data across Chinese and global markets, including historical OHLCV data and stock metadata, requiring no registration.

Can I get historical OHLCV data for A-shares, US, and HK stocks in Python?

Yes, you can get historical OHLCV data for A-shares, US, and HK stocks in Python. The akshare package supports specific functions like stock_zh_a_hist, stock_us_hist, and stock_hk_hist to retrieve historical prices for research and analysis.

What free Python packages provide macro and forex indicators for financial research?

The akshare package provides free macro and forex indicators for financial research. It includes functions such as macro_china_gdp to fetch macroeconomic data and forex indicators across global markets, consolidating access without paid APIs.

Do I need to register or pay to access global financial data with akshare?

No, you do not need to register or pay to access global financial data with akshare. The tool is completely free, requires no API keys, and consolidates widely-sourced public financial data across Chinese and global markets for research or backtesting.

Does akshare support fetching futures and macro data for quantitative analysis?

Yes, akshare supports fetching futures and macro data for quantitative analysis. It offers broad market coverage including futures, macro indicators like macro_china_gdp, and forex data, making it suitable for backtesting and financial research without API keys.