Skip to main content

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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page