Steps below.
Important: Ensure that you have your ByBit API Key and Secret up dated on the config_execution_api.py file once downloaded.
Clone the repository
git clone https://github.com/CryptoWizardsNet/stat-arb-bybit.git statarb
Update your API details from ByBit on config_execution_api.py
Change directory
cd statarb
Create Python virtual environment
pyhton3 -m venv venv
Activate environment for Mac
source venv/bin/activate
Activate environment for Windows
source venv\Scripts\activate
Install from requirements.txt
pip3 install -r requirements.txt
or if that does not work, install as follows
pip3 install pybit==2.4.1 pandas statsmodels
Change directory and run a file. E.g.
cd strategy
python3 main_strategy.py
or
cd execution
python3 main_execution.py