Skip to main content

Fugle Realtime

Project description

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.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


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.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fugle_realtime-0.2.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file fugle-realtime-0.2.4.tar.gz.

File metadata

  • Download URL: fugle-realtime-0.2.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for fugle-realtime-0.2.4.tar.gz
Algorithm Hash digest
SHA256 83b9ab7832c865fe372213ab0dbea3cbba1da1f9e689bdf3304279122afe8ca6
MD5 164dbc50eb686d5ec7379d954cc5f989
BLAKE2b-256 ffa44a31343351a9b0d46618ea45be60dc48c30c0394fac9d2ec0aa19e7feb6c

See more details on using hashes here.

File details

Details for the file fugle_realtime-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: fugle_realtime-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.16 CPython/3.7.3 Darwin/18.5.0

File hashes

Hashes for fugle_realtime-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9afbc9f156bb5d1fa8747e0389e9e5dc82a7ebfee13ecdabf0f691ac4a8525cd
MD5 d95d7ef695628b4b8e8e4dd065c074c4
BLAKE2b-256 7d90d0e1ca16b9854f2cd10196068d04827452a53adef5af4d726cb59d1ca55e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page