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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2d40cdfe64bfeb56279fbf3cf6e71c316d37424dfaff5e42d6dda5ef3dc2c12
|
|
| MD5 |
f5fb2a5f9cc86d566fa520675045ff9c
|
|
| BLAKE2b-256 |
7a0641779405012f054d3ed38be644b690e0cb2bfb66b6ab0d173b3a0248da3e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6feeaec096fcd72ea5bdb865c65e9bad2552fbe6d8bf8258323ff367cfc697d
|
|
| MD5 |
32cd62dc3f155a273773ff4553e3db5c
|
|
| BLAKE2b-256 |
cc20d7ed953ffd20a1cd02570681e99595cd049c46b48ba7fd6424246b401603
|