Skip to content

CryptoWizardsNet/stat-arb-bybit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Up-to-date code for Stat Arb bybit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages