Skip to content

Benzinga/websocket-feed-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b65b777 · May 8, 2024

History

8 Commits
May 3, 2024
Jul 2, 2021
Jul 2, 2021
Aug 18, 2021

Repository files navigation

websocket-feed-examples

Examples using Benzinga's streaming websocket feeds. Documentation available at https://docs.benzinga.io/.

See 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, 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