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)