Metadata-Version: 2.4
Name: open-stock-data
Version: 0.1.2
Summary: Core library for stock/crypto data with multi-source failover
License: MIT
Project-URL: Homepage, https://github.com/openstockdata/open-stock-data
Keywords: stock,trading,multi-source,akshare,efinance,tushare
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: akshare>=1.17.0
Requires-Dist: efinance>=0.5.0
Requires-Dist: baostock>=0.8.8
Requires-Dist: yfinance>=0.2.0
Requires-Dist: tushare>=1.4.0
Requires-Dist: tenacity>=8.0.0
Requires-Dist: cachetools>=6.2.0
Requires-Dist: diskcache>=5.6.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: requests>=2.28.0
Provides-Extra: test
Requires-Dist: pytest>=8.0.0; extra == "test"
Requires-Dist: pytest-timeout>=2.3.0; extra == "test"

# open-stock-data

Core library for stock/crypto data with multi-source failover.

Provides 47 tool functions for A-stock, HK, US stock, and crypto data with automatic failover across 6 data sources.

## Install

```bash
pip install open-stock-data
```

## Usage

```python
from open_stock_data.tools import stock_prices, get_current_time

# Get stock prices
print(stock_prices(symbol="600519", market="sh", limit=5))

# Get current time
print(get_current_time())
```
