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
# start redis server, required for the plotly dashboard.
brew install redis
redis-server
# 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