Skip to content

Latest commit

 

History

History
79 lines (51 loc) · 991 Bytes

README.md

File metadata and controls

79 lines (51 loc) · 991 Bytes

Steps

Steps below.

Important: Ensure that you have your ByBit API Key and Secret up dated on the config_execution_api.py file once downloaded.

Step 1

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

Step 2

Change directory

cd statarb

Step 3

Create Python virtual environment

pyhton3 -m venv venv

Activate environment for Mac

source venv/bin/activate

Activate environment for Windows

source venv\Scripts\activate

Step 4

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

Step 5

Change directory and run a file. E.g.

cd strategy
python3 main_strategy.py

or

cd execution
python3 main_execution.py