Skip to content

NumberChiffre/SimpleLOBStream

Repository files navigation

SimpleLOBStream

Installation

Use the package manager pip to install.

# set python version to 3.8.0 or 3.8.*, or use something like conda.
pyenv local 3.8.0

# install packages in a virtualenv/conda.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Starting redis

# start redis server, required for the plotly dashboard.
brew install redis
redis-server

Start OrderBook stream and dashboard

# start streaming order book data.
python main.py

# start the dashboard to display the spread/order book data by opening another command line window.
python monitor.py

Sample output from closing the OrderBook stream via KeyboardInterrupt.

output_console.png

Sample dashboard display

output_dashboard.png

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages