https://github.com/benzinga/websocket-feed-examples
Examples using Benzinga's streaming websocket feeds
https://github.com/benzinga/websocket-feed-examples
Last synced: 4 months ago
JSON representation
Examples using Benzinga's streaming websocket feeds
- Host: GitHub
- URL: https://github.com/benzinga/websocket-feed-examples
- Owner: Benzinga
- License: mit
- Created: 2021-07-02T14:55:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T17:42:40.000Z (about 2 years ago)
- Last Synced: 2025-06-28T04:05:12.409Z (12 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# websocket-feed-examples
Examples using Benzinga's streaming websocket feeds. Documentation available at [https://docs.benzinga.io/](https://docs.benzinga.io/).
See [https://docs.benzinga.io/benzinga/newsfeed-stream-v1.html](https://docs.benzinga.io/benzinga/newsfeed-stream-v1.html) for Newsfeed streaming documentation.
## Usage/Development
This is provided as an example only. It is not intended to be used as production code.
### Python
*Requires Python 3+*
Assumes Mac/Linux environment.
Using [Poetry](https://python-poetry.org/docs/), clone repo, change to `python-newsfeed` and run `poetry install`.
#### Run
```
export BZ_API_KEY='your api key'
python python-newsfeed/python_newsfeed/newsfeed.py
```