Skip to main content

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.

Source Distribution

fugle-realtime-0.2.8.tar.gz (3.6 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.8-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fugle-realtime-0.2.8.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/2.7.17 Linux/5.3.0-46-generic

File hashes

Hashes for fugle-realtime-0.2.8.tar.gz
Algorithm Hash digest
SHA256 93caf67b0a61a63965c1123e128096ecd0885b5119854136a201cb6ba1ca014d
MD5 5e9092d146d172a5d74d1153eb032adb
BLAKE2b-256 c0b7442a09bbb0ea94aceeec02bfbc8d5cf9d9d15629e5cf8a8dc42ea3b661b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fugle_realtime-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/2.7.17 Linux/5.3.0-46-generic

File hashes

Hashes for fugle_realtime-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 07994af93c0b9961486507d1364ea5c7d1aa9637c500ce588a7f0f5e38f2bb49
MD5 cb1c2d001c21314aa6ee043b088eabf8
BLAKE2b-256 9dc1f9c8dfa6a01b917eb07ef65ab985249643226708a707dc7507f89826301b

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