Fugle Realtime
Project description
fugle-realtime-py
Fugle Realtime Python
Documentation
https://developer.fugle.tw/realtime
Installation
pip install fugle-realtime
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.trades
: https://api.fugle.tw/realtime/v0/intraday/trades
intraday.trades(apiToken="demo", output="dataframe", symbolId="2884")
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
fugle-realtime-0.2.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for fugle_realtime-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2dd88acce40a3dd50d6eee46ca89052b1851c542392a93007fd4b8a74d388a5 |
|
MD5 | 1e491a55f493ba48bb2a8fabc6e2c547 |
|
BLAKE2b-256 | 1fb03ba0f4c5bf465cb35081f6bfde8888d46d2aa90b9e12cf16105b9f646008 |