Core library for stock/crypto data with multi-source failover
Project description
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
pip install open-stock-data
Usage
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())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
open_stock_data-0.1.1.tar.gz
(79.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_stock_data-0.1.1.tar.gz.
File metadata
- Download URL: open_stock_data-0.1.1.tar.gz
- Upload date:
- Size: 79.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2f81ccb2f07d36e2eb251fa0180489e61d36792b0744b2dab493e0da02a817d
|
|
| MD5 |
d0bb30b91311d853b85f840477afc705
|
|
| BLAKE2b-256 |
fde801c69aecb5bdcb4efe08aa28e06670a99f925099de31c026dfba9198bd35
|
File details
Details for the file open_stock_data-0.1.1-py3-none-any.whl.
File metadata
- Download URL: open_stock_data-0.1.1-py3-none-any.whl
- Upload date:
- Size: 96.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8817705465de5dd958b28beaadb3a9c144ab59351a41e6c43f29d30c86e5d346
|
|
| MD5 |
5d7658fecdeb717ce08e8a300d84bebd
|
|
| BLAKE2b-256 |
253a084ff32d9e7b1631aca495ad258fd1fdc72f9a66552506726d9e9b9a987d
|