https://github.com/es7/btc-predictor
In this repository, I have developed a BTC price prediction model using LSTM. The repository includes detailed explanations of how LSTM works, the code for building the model from scratch, and a demonstration of how to use it for BTC price prediction
https://github.com/es7/btc-predictor
btc cryptocurrency deep-learning gru lstm machine-learning rnn time-series-analysis
Last synced: 7 months ago
JSON representation
In this repository, I have developed a BTC price prediction model using LSTM. The repository includes detailed explanations of how LSTM works, the code for building the model from scratch, and a demonstration of how to use it for BTC price prediction
- Host: GitHub
- URL: https://github.com/es7/btc-predictor
- Owner: ES7
- License: mit
- Created: 2024-06-19T06:13:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T16:44:27.000Z (over 1 year ago)
- Last Synced: 2025-01-11T08:22:23.313Z (9 months ago)
- Topics: btc, cryptocurrency, deep-learning, gru, lstm, machine-learning, rnn, time-series-analysis
- Language: Jupyter Notebook
- Homepage:
- Size: 81 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Disclaimer
Predicting the stock market or cryptocurrency prices, such as Bitcoin (BTC), is inherently uncertain and involves significant risk. The models and methodologies used in this project are based on historical data and machine learning techniques, which may not accurately predict future market movements. This project is intended for **educational purposes only**. The insights and predictions generated by this model should not be considered financial advice or a recommendation to invest. Users are advised to conduct their own research and consult with a professional financial advisor before making any investment decisions. The creator of this project is not responsible for any financial losses that may occur as a result of using this model or any predictions it generates.
## BTC-Predictor
Bitcoin (BTC) is a digital currency that operates on a decentralized network using blockchain technology. It was introduced in 2008 by an anonymous person or group of people using the pseudonym Satoshi Nakamoto and was released as open-source software in 2009.In this project, I am developing a Bitcoin (BTC) price prediction model utilizing Long Short-Term Memory (LSTM) networks. LSTM, a type of recurrent neural network (RNN), is particularly well-suited for sequence prediction problems due to its ability to capture temporal dependencies. Given the highly volatile nature of cryptocurrency markets, accurately forecasting BTC prices can provide significant insights for traders and investors. This model aims to analyze historical price data and predict future BTC price movements, helping users make more informed trading decisions.
I have collected BTC price data from May 2016 to May 2024, spanning **8 years**, using the `Historic_Crypto` library. The code to scrape the data is inside **`Data_Collection.ipynb`** file.
The size of this data is **0.265 GB**, which made it difficult to upload to GitHub. Therefore, I broke down the data file into four parts and uploaded their zip files. All the required explaination is provided inside **`BTC_Prediction.ipynb`**.Next I have made a comparision between **RNN, LSTM & GRU** in the **`RNN_LSTM_GRU.ipynb`** file. In this file I have also made future prediction of 10 days from **31st May 2024 to 10th June 2024**, this future data is saved inside **`Future_10_days.csv`** file.
**For deep understanding read my article :-** [Mastering RNN, LSTM, GRU](https://medium.com/@sayedebad.777/mastering-rnns-the-key-to-understanding-sequential-data-66e1e9383686)