Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Mrs. K. Kalaivani, Lagdhir Anjaliben Gopalbhai, S. Sandhiya, A. Suguna
DOI Link: https://doi.org/10.22214/ijraset.2024.61584
Certificate: View Certificate
Cryptocurrency transactions rely on encryption algorithms for security and decentralization. However, traditional machine learning algorithms often struggle with the dynamic cryptocurrency market, leading to inaccuracies. To address this, integrating Integrating sentiment analysis of Twitter data alongside Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU) models enriches the analysis of cryptocurrency market dynamics. Twitter provides dataset from kaggle open source and the sentiment expressed by users on cryptocurrencies, enabling the prediction of tweet sentiment (positive, negative, or neutral) through Natural Language Processing (NLP). This integration enhances understanding of market sentiment\'s impact on cryptocurrency prices: positive sentiment may drive prices up, negative sentiment may lead to declines, and neutral sentiment may indicate stability. By analyzing sentiment alongside historical trends and emerging patterns, users gain a holistic view of cryptocurrency markets. This approach aids decision-making, improving transaction accuracy and efficiency. Ultimately, the combination of sentiment analysis with BiLSTM and BiGRU models advances the comprehension of cryptocurrency market dynamics, enhancing user insights and facilitating informed decisions in the volatile cryptocurrency ecosystem.
I. INTRODUCTION
Cryptocurrency comes under many names. You have probably read about some of the most popular types of cryptocurrencies such as Bitcoin, Litecoin, and Ethereum. Cryptocurrencies are increasingly popular alternatives for online payments. Before converting real dollars, euros, pounds, or other traditional currencies into ? (the symbol for Bitcoin, the most popular cryptocurrency), you should understand what cryptocurrencies are, what the risks are in using cryptocurrencies, and how to protect your investment. A cryptocurrency is a digital currency, which is an alternative form of payment created using encryption algorithms. The use of encryption technologies means that cryptocurrencies function both as a currency and as a virtual accounting system. To use cryptocurrencies, you need a cryptocurrency wallet. These wallets can be software that is a cloud-based service or is stored on your computer or on your mobile device. The wallets are the tool through which you store your encryption keys that confirm your identity and link to your cryptocurrency. Cryptocurrencies are still relatively new, and the market for these digital currencies is very volatile. Since cryptocurrencies don't need banks or any other third party to regulate them; they tend to be uninsured and are hard to convert into a form of tangible currency (such as US dollars or euros.) In addition, since cryptocurrencies are technology-based intangible assets, they can be hacked like any other intangible technology asset. Finally, since you store your cryptocurrencies in a digital wallet, if you lose your wallet (or access to it or to wallet backups), you have lost your entire cryptocurrency investment. Look before you leap! Before investing in a cryptocurrency, be sure you understand how it works, where it can be used, and how to exchange it. Read the webpages for the currency itself (such as Ethereum, Bitcoin or Litecoin) so that you fully understand how it works, and read independent articles on the cryptocurrencies you are considering as well.
II. LITERATURE SURVEY
III. IMPLEMENTATION
A. Data Extraction
Data is extracted from the provided API endpoint, specifically from the URL format: `https://min-api.cryptocompare.com/data/v2/histo'+frequency+'?'+cryptoHeader`, where `frequency` represents the time interval for historical data (e.g., hourly, daily), and `cryptoHeader` includes parameters such as the cryptocurrency symbol, currency pair, and any other relevant details. Once retrieved, the data is stored as a CSV (Comma-Separated Values) file, a common format for tabular data. This file likely contains columns representing various attributes such as timestamp, cryptocurrency price, volume, and other market-related metrics.
The extracted data serves as the foundation for analysis and prediction in cryptocurrency trading. It enables researchers and analysts to study market behaviors, trends, and fluctuations over time, providing valuable insights for decision-making processes. Overall, this process involves retrieving historical cryptocurrency data from the specified API endpoint, storing it in a CSV file format for further analysis, and leveraging this data to gain insights into cryptocurrency market dynamics.
B. Pre-processing
Pre-processing of cryptocurrency data involves several crucial steps to ensure its suitability for analysis and modeling. Initially, the data undergoes cleaning, where any inconsistencies, outliers, or missing values are addressed to enhance its quality and reliability. Subsequently, feature engineering techniques may be applied to extract relevant information or create new variables that better capture underlying patterns in the data. This can include transforming timestamps into meaningful features or calculating additional indicators to provide deeper insights into market behavior. Normalization or standardization may also be performed to ensure that all features are on a similar scale, preventing biases in the analysis. Furthermore, the data may be segmented into training and testing sets, with attention to preserving temporal order, especially in the case of time-series data like cryptocurrency prices. By effectively pre-processing the data, analysts can ensure that it is ready for accurate and meaningful analysis, laying the groundwork for informed decision-making in cryptocurrency trading and investment.
C. Feature Extraction
Feature extraction in the context of cryptocurrency data analysis involves identifying and deriving relevant attributes or features from raw data to facilitate effective analysis and modeling. This process aims to capture essential information that can contribute to understanding market dynamics and predicting price movements. In cryptocurrency data, features may include various metrics such as price volatility, trading volume, market sentiment indicators, and technical analysis indicators like moving averages or relative strength index (RSI). Feature extraction techniques may involve mathematical transformations, statistical calculations, or domain-specific knowledge to create meaningful representations of the underlying data. By selecting and extracting pertinent features, analysts can uncover valuable insights and patterns within the cryptocurrency market, aiding in decision-making processes for traders and investors. Effective feature extraction is essential for optimizing the performance of machine learning models and enhancing the accuracy of cryptocurrency price predictions.
D. Model Creation
The creation of a model using Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU) represents a sophisticated approach to cryptocurrency price prediction. These models leverage their unique architectures to capture both past and future dependencies in sequential cryptocurrency data. BiLSTM, known for its ability to retain long-term memory, can effectively analyze historical trends and patterns in cryptocurrency prices. On the other hand, BiGRU, with its efficient processing of sequential data, excels in capturing short-term fluctuations and emerging trends. By integrating both BiLSTM and BiGRU layers in the model, it can simultaneously analyze historical data while considering real-time market dynamics, providing a comprehensive understanding of cryptocurrency market behavior. This bidirectional approach enables the model to capture complex patterns and relationships in the data, ultimately enhancing the accuracy of price predictions. The utilization of BiLSTM and BiGRU in cryptocurrency modeling signifies a cutting-edge methodology that addresses the challenges posed by the dynamic and volatile nature of cryptocurrency markets, offering valuable insights for traders and investors.
E. Processing the Twitter Data
To process Twitter data for cryptocurrency analysis, first, collect tweets using the Twitter kaggle dataset based on relevant keywords or hashtags. Then, clean the data by removing noise like URLs and hashtags and tokenize the text. Perform sentiment analysis to classify tweets as positive, negative, or neutral using NLP techniques. Extract features such as word frequency and sentiment scores. Encode the data into a suitable format for machine learning models. Integrate the processed Twitter data with historical cryptocurrency data and feed it into Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU) models for analysis. Evaluate the model's performance and iterate to improve accuracy and efficiency. This approach enables a comprehensive understanding of market sentiment and enhances decision-making in the cryptocurrency ecosystem.
IV. RESULT AND DISCUSSION
In the proposed system, sentiment analysis of Twitter data sourced from Kaggle's open dataset is integrated alongside Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU) models to enhance the analysis of cryptocurrency market dynamics. Leveraging Natural Language Processing (NLP) techniques, the sentiment expressed by users on cryptocurrencies in tweets is predicted as positive, negative, or neutral. This integration provides valuable insights into market sentiment and its impact on cryptocurrency prices: positive sentiment may drive prices up, negative sentiment may lead to declines, and neutral sentiment may indicate market stability. By analyzing sentiment alongside historical trends and emerging patterns, users obtain a comprehensive view of cryptocurrency markets, aiding decision-making processes. This holistic approach improves transaction accuracy and efficiency, advancing the comprehension of cryptocurrency market dynamics and empowering users to make informed decisions in the volatile cryptocurrency ecosystem.
In conclusion, the proposed system leverages sentiment analysis of Twitter data alongside Bidirectional Long Short-Term Memory (BiLSTM) and Bidirectional Gated Recurrent Unit (BiGRU) models to enhance the analysis of cryptocurrency market dynamics. By incorporating real-time sentiment expressed by users on cryptocurrencies, the system provides valuable insights into market sentiment\'s impact on cryptocurrency prices. Through Natural Language Processing (NLP) techniques, tweets are classified as positive, negative, or neutral, enriching the understanding of how sentiment influences cryptocurrency prices. The integration of sentiment analysis alongside historical trends and emerging patterns enables users to gain a holistic view of cryptocurrency markets, aiding decision-making processes. This holistic approach improves transaction accuracy and efficiency, ultimately advancing the comprehension of cryptocurrency market dynamics and empowering users to make informed decisions in the volatile cryptocurrency ecosystem. Future work could focus on refining the sentiment analysis model to better capture nuances in cryptocurrency-related tweets and improve accuracy. Additionally, exploring advanced deep learning architectures or ensemble techniques for predicting cryptocurrency prices could enhance the system\'s performance. Integration of other external data sources, such as news articles or forum discussions, could further enrich the analysis and provide deeper insights into market dynamics. Finally, developing a user-friendly interface for accessing and visualizing the analysis results could enhance usability and adoption of the system among cryptocurrency investors and traders.
[1] Monisha Mittal; G. Geetha, \"Predicting Bitcoin Price using Machine Learning\" in IEEE 2022. [2] Akhilesh Kumar Singh; Manish Raj, \"A study of Analytics and Exploration of Bitcoin Challenges and Blockchain\" in 2022 IEEE. [3] Grace. LK. Joshila; Asha. P; D. Usha Nandini; G. Kalaiarasi, \"Price Prediction of Bitcoin\" in IEEE 2021. [4] Raj Gaurang Tiwari; Ambuj Kumar Agarwal; Rajesh Kumar Kaushal; Naveen Kumar, “Prophetic Analysis of Bitcoin price using Machine Learning Approaches”, in IEEE 2021. [5] Wenhan Hou; Bo Cui; Ru Li, “A Survey on Blockchain Data Analysis” in IEEE 2021. [6] Mayukh Samaddar*1, Rishiraj Roy*1, Sayantani De*1 and Raja Karmakar# ,“ A Comparative Study of Different Machine Learning Algorithms on Bitcoin Value Prediction” in IEEE 2021. [7] Brian Vockathaler, “ The Bitcoin Boom: An In Depth Analysis of The Price Of Bitcoins”, Thesis, University Of Ottawa, Ontario, Canada, June 2017 [8] Huisu Jang and Jaewook Lee, “An Empirical Study on Modelling and Prediction of Bitcoin Prices with Bayesian Neural Networks based on Blockchain Information,”in IEEE Early Access Articles, 2017. [9] Issac Madan, Shaurya Saluja, Aojia Zhao,Automated Bitcoin Trading via Machine Learning Algorithms, Department of Computer Science , Stanford University, Stanford , 2015. [10] F. Andrade de Oliveira, L. Enrique Zárate and M. de Azevedo Reis; C. Neri Nobre, “The use of artificial neural networks in the analysis and prediction of stock prices,” in IEEE International Conference on Systems, Man, and Cybernetics, 2011. [11] M. Daniela and A. BUTOI, “Data mining on Romanian stock market using neural networks for price prediction”. informatica Economica, 2013
Copyright © 2024 Mrs. K. Kalaivani, Lagdhir Anjaliben Gopalbhai, S. Sandhiya, A. Suguna. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET61584
Publish Date : 2024-05-04
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here