fugle_realtime
Project description
(compatible with python3.8 and python3.9)
fugle-realtime-py
Fugle Realtime Python is a Python package to query realtime stock quote of Taiwan market through API provided by Fugle.
Currently supported exchanges are Taiwan Stock Exchange (TWSE) and Taipei Exchange(TPEx).
Documentations
Installation
pip install fugle-realtime
This package is compatible with Python 3.6 and 3.7.
Usage
from fugle_realtime import intraday
intraday.chart: https://api.fugle.tw/realtime/v0/intraday/chart
intraday.chart(apiToken="demo", output="dataframe", symbolId="2884")
intraday.meta: https://api.fugle.tw/realtime/v0/intraday/meta
intraday.meta(apiToken="demo", output="dataframe", symbolId="2884")
intraday.quote: https://api.fugle.tw/realtime/v0/intraday/quote
intraday.quote(apiToken="demo", output="dataframe", symbolId="2884")
intraday.dealts: https://api.fugle.tw/realtime/v0/intraday/dealts
intraday.dealts(apiToken="demo", output="dataframe", symbolId="2884", limit=50, offset=0)
output="dataframe" will return pandas DataFrame, which is the default. output="raw" will return python built-in dict or list accordingly.
symbolId="2884" is only allowed when apiToken="demo". To access more symbolId, you will have to get your own apiToken. Please visit https://developer.fugle.tw/realtime/apiToken for detailed instructions.
For complete documentation of each URL and its parameters in association with the corresponding function and its arguments specified above, please visit https://developer.fugle.tw/realtime/document.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fugle_realtime-0.2.8a0.tar.gz.
File metadata
- Download URL: fugle_realtime-0.2.8a0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2740a7c42dbafeffc8122c23ce1d07f8c1695177af9dceab1348711461f84f3e
|
|
| MD5 |
8d8769fed8a9564b461c0ad6ff88df16
|
|
| BLAKE2b-256 |
9b64b2f521a8e6e0e9c57404d5325815f310201404ad8784333f344331eb7805
|
File details
Details for the file fugle_realtime-0.2.8a0-py3-none-any.whl.
File metadata
- Download URL: fugle_realtime-0.2.8a0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a63a0d3bd9c92c56c3cf85be5d3611653eb6e8e5ea76c8728e73205d6ef78c72
|
|
| MD5 |
4c9aaaba81f6e488c976b892e318f7a2
|
|
| BLAKE2b-256 |
ae58dfbaff929dd9154bc9337ceb49f65a6f94421ae7fae3f3511fc758028f68
|