A Python SDK for real-time stock and futures market data
Project description
TickHub Python SDK
A Python SDK for financial market data.
Installation
pip install tickhub
How to use
import tickhub
# Initialize client
pro = tickhub.pro("your-api-token")
# Get daily data
df = pro.daily(
ts_code='000001.SZ',
start_date='20240101',
end_date='20240131'
)
# Get realtime data
df = pro.rt_k(ts_code='000001.SZ')
Documentation
- API Docs - API reference documentation
Development
- DEVELOPMENT.md - Development environment setup
- DESIGN.md - Design document
- API_GUIDE.md - API development guide
- PYPI_RELEASE.md - PyPI release guide
License
MIT
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
tickhub-0.3.2.tar.gz
(24.4 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
tickhub-0.3.2-py3-none-any.whl
(20.1 kB
view details)
File details
Details for the file tickhub-0.3.2.tar.gz.
File metadata
- Download URL: tickhub-0.3.2.tar.gz
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20c257b06b22ad55a55f7d4a038b5df68375f94efb3dc13457931ac2c94dba97
|
|
| MD5 |
45b539d21a9f560df256514050db9c41
|
|
| BLAKE2b-256 |
4a56ad444f28f5c01eaaadc1b3b280eebb2829a228c01085f292ef2ae8df2568
|
File details
Details for the file tickhub-0.3.2-py3-none-any.whl.
File metadata
- Download URL: tickhub-0.3.2-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05a1491bb376506b2facd45197a83300cd579545eee518537fe0b4ac95e4d187
|
|
| MD5 |
a06c385f559a1357140a94012a2e91da
|
|
| BLAKE2b-256 |
71630ef44c5ac3ed00897b1246a7cdab935e8856193b6d50aa7e970fb0c43d60
|