Skip to main content

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"
}

Metadata

Release files for tw-stock 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tw-stock 1.0.7
File Size Uploaded
tw_stock-1.0.7.tar.gz 1.6 kB Details

Release files / tw_stock-1.0.7.tar.gz

Download URL tw_stock-1.0.7.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bc544c7bb504b279be3cfcb047af3374614a3017f8c0733cf2ca1d6df4353c45
BLAKE2b-256 checksum
How to use checksums
f67d21b6e5067eb7bbbc6cf34ed442265bf2acbb279c93a285a3647b71f7ffb1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.7 This release

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page