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)
Release files for ystreamer 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ystreamer-1.1.0.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ystreamer-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / ystreamer-1.1.0.tar.gz
| Download URL | ystreamer-1.1.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2d40cdfe64bfeb56279fbf3cf6e71c316d37424dfaff5e42d6dda5ef3dc2c12
|
|
BLAKE2b-256 checksum How to use checksums |
7a0641779405012f054d3ed38be644b690e0cb2bfb66b6ab0d173b3a0248da3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ystreamer-1.1.0-py3-none-any.whl
| Download URL | ystreamer-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6feeaec096fcd72ea5bdb865c65e9bad2552fbe6d8bf8258323ff367cfc697d
|
|
BLAKE2b-256 checksum How to use checksums |
cc20d7ed953ffd20a1cd02570681e99595cd049c46b48ba7fd6424246b401603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|