Metadata-Version: 2.1
Name: ystreamer
Version: 1.1.0
Summary: API to interact with Yahoo Finance Websocket API
Home-page: https://github.com/bwees/ystreamer
Author: bwees
Author-email: brandonwees@gmail.com
License: Apache 2.0
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# 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)
```

