Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llSourcell/bitcoin_prediction
This is the code for "Bitcoin Prediction" by Siraj Raval on Youtube
https://github.com/llSourcell/bitcoin_prediction
Last synced: 14 days ago
JSON representation
This is the code for "Bitcoin Prediction" by Siraj Raval on Youtube
- Host: GitHub
- URL: https://github.com/llSourcell/bitcoin_prediction
- Owner: llSourcell
- Created: 2018-02-01T10:02:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T10:31:53.000Z (almost 7 years ago)
- Last Synced: 2024-08-01T10:21:54.561Z (3 months ago)
- Language: Jupyter Notebook
- Size: 1020 KB
- Stars: 235
- Watchers: 16
- Forks: 134
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ai-in-finance - bitcoin_prediction - Code for "Bitcoin Prediction" by Siraj Raval on YouTube. (Strategies & Research / Crypto Currencies Strategies)
README
# Overview
This is the code for [this](https://youtu.be/EqWm8A-dRYg) video on Youtube by Siraj Raval on Bitcoin Prediction.
##### Usage #####
The entire setup works on Google cloud.##### Part 1: Data Gathering: #####
In order to capture the real-time data, we run the following two python programs in background to continuously fetch the data.
a) Continuous_Stream_Data.py
b) Continuous_Stream_Sentiment.pyThe two code do the preprocessing of data and store them in “live_tweet.csv” and “live_bitcoin.csv” files.
##### Part 2: Core Engine: #####
From the experiments we found LSTM based model to be performing better than ARIMA (discussed in detail in next section). We have set our best model parameters in engine.py file and once it is run it gathers data from the “live_bitcoin.csv” and “live_tweet.csv”, and generate features in real-time and is fed into the model.The model outputs the next price. It also does a computation based on the threshold set in the code (this is fed from the settings file).
The information about the time stamp, predicted price, current real price and buy/sell decision is then written into a mysql database
##### Part 3: Tableau and Notification system: #####
We have used Tableau to generate plots in real-time form the sql-database mentioned in previous section.
# Credits
Credits for this code go to [sapphirine](https://github.com/Sapphirine/BITCOIN-PRICE-PREDICTION-USING-SENTIMENT-ANALYSIS). I've merely created a wrapper to get people started.