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:
```
{
"stock_no": 2330,
"now_price": "230.00",
"low_price": "229.00",
"high_price": "231.50"
}
```
## Install:
```
pip install tw-stock
```
## Example:
```
from tw_stock.stock import get_realtime
print(get_realtime(2330))
```
## Return:
```
{
"stock_no": 2330,
"now_price": "230.00",
"low_price": "229.00",
"high_price": "231.50"
}
```
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.2.tar.gz
(1.6 kB
view hashes)