A senior project about Bitcoin value prediction.
This project tries to create a model which predicts the value of bitcoin from both statistically analysis and Twitter sentiment on a given period of time. Many different models are designed and tested to see which gives the best results.
Below here is our project structure. One node corresponds to one notebook.
There are two method of installations: with or without virtual environment. You only need to install with virtual environment if you are a developer of the project.
Our project uses DVC to source control our data to Google Drive remote. Please refer to here for more information on pulling data.
-
Install Twint.
pip install --upgrade git+https://github.com/kevctae/twint.git
-
Install dependencies from
requirements.txt
.pip install -r ./setup/requirements.txt
-
Run Jupyter Notebook.
jupyter notebook
- Install pyenv.
- Install pyenv-virtualenv
- Run setup script based on the OS:
-
(macOS) Allow executable on
setup-mac.sh
and run the script.cd ./setup chmod +x ./setup-mac.sh ./setup-mac.sh
-
In order to pull data from Google Drive, you will first need permission to access the Drive from kevctae. Once you have permision, you may pull data using command (make sure to install DVC from here):
dvc pull
It will ask you to get verification code on the first pull. Follow the provided URL and login to your Google account