Skip to main content

fugle_realtime_compatible

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_compatible-0.0.0.tar.gz (4.1 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_compatible-0.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file fugle_realtime_compatible-0.0.0.tar.gz.

File metadata

  • Download URL: fugle_realtime_compatible-0.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for fugle_realtime_compatible-0.0.0.tar.gz
Algorithm Hash digest
SHA256 c90220fe84e53715afc09e2d2cda2ee4c8a27ff21429c2a24a61ec73089dd4e7
MD5 1de55f10701aa7e7e79019850352ecc1
BLAKE2b-256 38aea1dac6cd94a43923fc08f0705bbd415e1e2d16ba3f5f776d168583cc0636

See more details on using hashes here.

File details

Details for the file fugle_realtime_compatible-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: fugle_realtime_compatible-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for fugle_realtime_compatible-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee2bea4a39712eb4c2ea7ddb150d9aca6debd82ed419c5c31379882bf0db3436
MD5 a0da2c44864ba7e27ada18c1519e9285
BLAKE2b-256 60e6557d5932dab55accdd2665a3c5a78f4d93a807b34c54af3dbb6beb65a34a

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