To get started:
Edit settings.py to add your interval preferences (For instrument, API key and SECRET are not necessary)
pip install -r requirements.txt
to install the requirements
Run it:
python bitmex_instrument.py
python bitmex_ws_instrument.py
For more details about the API connector, go here