Skip to main content

API to interact with Yahoo Finance Websocket API

Project description

ystreamer

A Python libary to interact with the Yahoo Finance Websocket Based on protobuf definition from https://github.com/yahoofinancelive/yliveticker

Example

from ystreamer import YahooStreamer
import time

def on_data(data):
    print(data)

stream = YahooStreamer(["AAPL", "MSFT"], on_data)
stream.start()

# Stream continues to run in the background so must wait indefinately 
# or the program will exit
while True:
    time.sleep(1)

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

ystreamer-1.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

ystreamer-1.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file ystreamer-1.1.0.tar.gz.

File metadata

  • Download URL: ystreamer-1.1.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ystreamer-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f2d40cdfe64bfeb56279fbf3cf6e71c316d37424dfaff5e42d6dda5ef3dc2c12
MD5 f5fb2a5f9cc86d566fa520675045ff9c
BLAKE2b-256 7a0641779405012f054d3ed38be644b690e0cb2bfb66b6ab0d173b3a0248da3e

See more details on using hashes here.

File details

Details for the file ystreamer-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ystreamer-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ystreamer-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6feeaec096fcd72ea5bdb865c65e9bad2552fbe6d8bf8258323ff367cfc697d
MD5 32cd62dc3f155a273773ff4553e3db5c
BLAKE2b-256 cc20d7ed953ffd20a1cd02570681e99595cd049c46b48ba7fd6424246b401603

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