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.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for fugle_realtime-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57f09295ab842825f181af034135fd04ec0f702d3ee3f969310da26215f7e27 |
|
MD5 | 088f673a816beee4a0fcc52bed579195 |
|
BLAKE2b-256 | 83a481e6cbd3ed47b59f468b0b20ee2e1e9adf38c8e8ac3d5a303749afccccc8 |