Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Fugle Realtime

Project description

fugle-realtime-py

Travis (.org) PyPI PyPI - Python Version PyPI - Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fugle-realtime, version 0.2.8
Filename, size File type Python version Upload date Hashes
Filename, size fugle_realtime-0.2.8-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size fugle-realtime-0.2.8.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page