Get Taiwan's stock info in real-time
Project description
Get Taiwan's stock info in real-time
Install:
pip install tw-stock
Example:
from tw_stock.stock import get_realtime
print(get_realtime(2330))
Return:
{
"now_amount": "9355",
"now_diff": "0.0",
"now_price": "233.00",
"now_percent": "0.0",
"stock_name": "台積電",
"stock_no": "2330"
}
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
tw_stock-1.0.7.tar.gz
(1.6 kB
view details)
File details
Details for the file tw_stock-1.0.7.tar.gz.
File metadata
- Download URL: tw_stock-1.0.7.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc544c7bb504b279be3cfcb047af3374614a3017f8c0733cf2ca1d6df4353c45
|
|
| MD5 |
ed9834a31f7aeaffa5ebaff700ee354b
|
|
| BLAKE2b-256 |
f67d21b6e5067eb7bbbc6cf34ed442265bf2acbb279c93a285a3647b71f7ffb1
|