akshare

Fetch A-share, US, HK, macro, and forex data without API keys.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AKShare solves the problem of accessing diverse financial data without API keys or paid services, enabling researchers and developers to fetch market data quickly and freely.

Core Features & Use Cases

  • Free, open-source data library covering A-shares, US, HK markets, macro, forex, and futures.
  • No API keys required; data is sourced from public providers and exposed via simple Python interfaces.
  • Built-in loaders and examples to fetch historical OHLCV and stock info for research, backtesting, or trading strategies.

Quick Start

Install akshare via pip and start querying data with stock_zh_a_hist or stock_us_hist to retrieve historical OHLCV.

Frequently Asked Questions about akshare

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

FAQPage Schema
How do I fetch historical stock data without needing an API key?

Use the akshare Python library to fetch financial data without an API key by calling functions like stock_zh_a_hist with parameters such as symbol, period, start_date, end_date, and adjust to retrieve historical OHLCV data.

What free financial data markets and asset classes are available without paid services?

Free financial data without paid services covers A-shares, US markets, HK markets, macroeconomics, forex, and futures. It is sourced from public providers and exposed via simple Python interfaces for research, backtesting, or trading strategies.

Can I use Python to retrieve A-share, US, and HK market OHLCV data for backtesting?

Yes, you can use Python to retrieve A-share, US, and HK market OHLCV data for backtesting. The library provides built-in loaders and examples to fetch historical OHLCV and stock info via standard functions.

Does akshare work with specific parameters like symbol, period, start_date, and end_date?

Yes, akshare works with standard parameters like symbol, period, start_date, end_date, and adjust. You ensure a Python environment with pip install akshare and use these parameters in standard functions to query data.

What's the best way to access macro and forex data for research without paid services?

The best way to access macro and forex data for research without paid services is using the akshare Python library. It aggregates data from public providers, enabling developers to fetch market data quickly and freely.