Skip to main content

AKShare One

中文 | English

AKShare One is a data interface for obtaining Chinese A-shares, based on AKShare. It aims to simplify AKShare's usage and unify input/output formats from different data sources, making it easier to pass data to LLM.

✨ Features

  • 📊 Unified stock code formats across data sources
  • 🏗️ Standardized return data structures
  • 🛠️ Simplified API parameter design
  • ⏱️ Automatic timestamp and adjustment handling

🚀 Core Features

Function Interface
Historical data get_hist_data
Real-time quotes get_realtime_data
Stock news get_news_data
Financial data get_balance_sheet/get_income_statement/get_cash_flow
Internal transactions get_inner_trade_data
Basic stock info get_basic_info
Financial metrics get_financial_metrics
Technical indicators See indicators.py

📦 Quick Installation

pip install akshare-one

💻 Usage Example

from akshare_one import get_hist_data
from akshare_one.indicators import get_sma

# Get historical data
df = get_hist_data(
    symbol="600000",
    interval="day",
    adjust="hfq"
)

# Calculate 20-day Simple Moving Average
df_sma = get_sma(df, window=20)

📚 Documentation

Full API documentation is now available on GitHub Pages:

https://zwldarren.github.io/akshare-one/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_akshare_one-0.3.15.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_akshare_one-0.3.15-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_akshare_one-0.3.15.tar.gz.

File metadata

  • Download URL: iflow_mcp_akshare_one-0.3.15.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_akshare_one-0.3.15.tar.gz
Algorithm Hash digest
SHA256 818b7549c83a4d2e1eadd2a5d06015a32e31316ad271ab38ea18dcc7705dc0d8
MD5 fd970cd1b8dce7f5bdf21c0eb361b956
BLAKE2b-256 a5f55ead1115d64e6accacf367db05226cb49d8cd57a0c09d422c0329206b18e

See more details on using hashes here.

File details

Details for the file iflow_mcp_akshare_one-0.3.15-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_akshare_one-0.3.15-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_akshare_one-0.3.15-py3-none-any.whl
Algorithm Hash digest
SHA256 ea5acb677d822974db3fac812d18ab47c6d13f0d032f09c71dab7ef5c5ca6b4a
MD5 1e6646493f13763dd65d2b0c9b6d9d90
BLAKE2b-256 9da7f135e4f167e4717367f2b1d170a971a6a2e6139615885c9ed657de77d1b2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.15 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page