An open API service indexing awesome lists of open source software.

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

Standardized interface for Chinese financial market data, built on AKShare with unified data formats and simplified APIs
https://github.com/zwldarren/akshare-one

akshare finance-api financial-data python quant stock-data

Last synced: about 1 year ago
JSON representation

Standardized interface for Chinese financial market data, built on AKShare with unified data formats and simplified APIs

Awesome Lists containing this project

README

          


AKShare One



English | δΈ­ζ–‡

**AKShare One** is a standardized interface for Chinese financial market data, built as a wrapper around [AKShare](https://github.com/akfamily/akshare) to solve inconsistencies in input/output formats across different data sources.

## ✨ Features

- πŸ“Š Unified stock code formats across data sources
- πŸ—οΈ Standardized return data structures
- πŸ› οΈ Simplified API parameters
- ⏱️ Automatic timestamp and adjustment handling

## πŸš€ Core Features

| Feature | 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` |
| Insider trading | `get_inner_trade_data` |

## πŸ“¦ Quick Installation

```bash
pip install akshare-one
```

## πŸ’» Usage Example

```python
from akshare_one import get_hist_data, get_realtime_data

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

# Get real-time data
df_realtime = get_realtime_data(symbol="600000")
```

## πŸ“š Documentation

Detailed API reference: [docs/api.md](docs/api.md)