This repo was created as a student project for the "AI와 암호화폐이야기" lecture in HYU.
This directory does the following things:
- Gather & organize the orderbook from the bithumb exchange.
- calculate essential & meaningful feature data for them, such as
- mid price, market mid price, weighted mid price
- book imbalance
- Implement Lasso regression model on these data and calculate PnL
pandas
: python module for data manipulationstringr
: string operations in Rglmnet
: for fitting regularized regression models, such as lasso and elastic net, across a wide range of model types, including linear, logistic, Poisson, and Cox regression
These are listed in requirements.txt
in the Docs
folder. Use the below command to install these dependencies.
pip install -r requirements.txt
pip install -r requirements.txt
python combine_book.py
- Then, just run the files you want to try out.