akshare
Installation
SKILL.md
Overview
AKShare is a completely free, open-source Python financial data library. No registration or API key required. It aggregates data from public sources (Sina, East Money, etc.) covering Chinese and global markets.
- GitHub: https://github.com/akfamily/akshare (18k+ stars)
- Install:
pip install akshare
Quick Start
from src.data_gateway.skill_sources import akshare_query
# A-share daily OHLCV (前复权)
df = akshare_query("stock_zh_a_hist_em", symbol="000001", period="daily",
start_date="20240101", end_date="20260101", adjust="qfq")
# US stock daily
df = akshare_query("stock_us_hist_em", symbol="105.AAPL", period="daily",
start_date="20240101", end_date="20260101", adjust="qfq")