Conference PaperPDF Available

A LSTM-Method for Bitcoin Price Prediction: A Case Study Yahoo Finance Stock Market

Authors:

Abstract and Figures

Bitcoin is a kind of Cryptocurrency and now is one of type of investment on the stock market. Stock markets are influenced by many risks of factor. And bitcoin is one kind of cryptocurrency that keep rising in recent few years, and sometimes sudden fall without knowing influence behind it on the stock market. Because it’s fluctuations, there’s a need and automation tool to predict bitcoin on the stock market. This research study learns how to create model prediction bitcoin stock market prediction using LSTM, LSTM (Long Short Term Memory) is another type of module provided for RNN later developed and popularized by many researchers, like RNN, the LSTM also consists of modules with recurrent consistency. The Method that we apply on this research, also technique and tools to predict Bitcoin on stock market yahoo finance can predict the result above $ 12600 USD for next days after prediction, in the last section we make conclusions and discuss future works.
Content may be subject to copyright.
A LSTM-Method for Bitcoin Price Prediction: A
Case Study Yahoo Finance Stock Market
1
st
Ferdiansyah
Department of Informatics,
Universitas Bina Darma
Palembang, Indonesia
ferdi@binadarma.ac.id
4
th
Deris Stiawan
Faculty of Computer Knowledge,
Universiti Sriwijaya,
Bukit Besar, Palembang, Indonesia
deris@unsri.ac.id
2
nd
Siti Hajar Othman
School of Computing, Faculty of
Engineering,
Universiti Teknologi Malaysia,
Johor Bahru, Johor, Malaysia
hajar@utm.my
5
th
Yoppy Sazaki
Faculty of Computer Knowledge,
Universiti Sriwijaya,
Bukit Besar, Palembang, Indonesia
yoppysazaki@gmail.com
3
rd
Raja Zahilah Raja Md Radzi
School of Computing, Faculty of
Engineering,
Universiti Teknologi Malaysia,
Johor Bahru, Johor, Malaysia
zahilah@utm.my
6
th
Usman Ependi
Department of Informatics,
Universitas Bina Darma
Palembang, Indonesia
u.ependi@binadarma.ac.id
Abstract—Bitcoin is a kind of Cryptocurrency and now is one of
type of investment on the stock market. Stock markets are
influenced by many risks of factor. And bitcoin is one kind of
cryptocurrency that keep rising in recent few years, and
sometimes sudden fall without knowing influence behind it on the
stock market. Because it’s fluctuations, there’s a need and
automation tool to predict bitcoin on the stock market. This
research study learns how to create model prediction bitcoin
stock market prediction using LSTM, LSTM (Long Short Term
Memory) is another type of module provided for RNN later
developed and popularized by many researchers, like RNN, the
LSTM also consists of modules with recurrent consistency. The
Method that we apply on this research, also technique and tools
to predict Bitcoin on stock market yahoo finance can predict the
result above $ 12600 USD for next days after prediction, in the
last section we make conclusions and discuss future works.
Index Terms—Cryptocurrency, Bitcoin prediction, Bitcoin
Stock Market Prediction, LSTM.
I. I
NTRODUCTION
Cryptocurrency has been around for several years and has
now become quite popular, widespread, and also surrounded
and there is a lot of controversy from innovative developments.
Cryptocurrencies are a digital currency where transactions
can be done by online transactions, unlike the common
currency, cryptocurrency is designed based on cryptography.
Bitcoin is one kind of Cryptocurrency no regulation from
any party and decentralized. The unique characteristic of
Bitcoin is daily price fluctuations and always change every
day. The value Bitcoin Exchange rate to (USD) is $ 12,354.73
USD on 28 June 2019 in yahoo finance stock market[1] and
sometimes keep rising and sudden fall on march the value is $
3900 USD.
The Stock markets are influenced by many uncertainties
factor such as political issue, the economic issue at impacted
to local or global levels. To interpretation key of success,
factor to providing accurate predictions is complicated work.
For the market, we can analyze with any techniques such as
technical indicator, price movements, and market technical
analysis.[2]
To solve the problem above, regarding the fluctuations
there’s a need automation tool for prediction to help investors
decide for bitcoin or other cryptocurrency market investment.
Nowadays the automation tools are usually used in common
stock market predictions, and we can do the same works and
strategy on this domain cryptocurrencies.
LSTM (Long Short Term Memory) is another type of
module provided for RNN. LSTM was created by Hochreiter
& Schmidhuber (1997)[3] and later developed and
popularized by many researchers. Like RNN, the LSTM) also
consists of modules with recurrent consistency.
This paper studies about bitcoin and stock market
predictions, method, technique, and tools from a big number
of resources paper, and other available sources.
II. L
ITERATURE
R
EVIEW
A. Cryptocurrency and Bitcoin
The history of cryptocurrency (Cryptographic currency)
begins in the 1980s started with David chaum, In his paper, he
proposed a novel of a cryptographic scheme to blind the
content of the message before it is signed so that the signer
cannot determine the content. These blind signatures can be
publicly verified just like a regular digital signature. Chaum
proposed digital cash approach in such a way that is
untraceable by another party.[4]
The rise of cryptocurrency started on B-money In 1998,
Wei Dai proposed b-money[5], an anonymous and distributed
electronic cash system, In that method, describes two protocols
based on network that cannot be traced, where senders and
receivers are identified only by digital such as their public
keys, and each message will be signed by its sender to receiver.
206
Authorized licensed use limited to: UNIVERSITY TEKNOLOGI MALAYSIA. Downloaded on March 01,2021 at 14:12:51 UTC from IEEE Xplore. Restrictions apply.
Bit Gold In 1998, Nick Szabo[6] propose models a new
digital currency, the models based on cryptographic system
puzzles, which after being solved, were sent to the Byzantine-
fault-tolerant public registry and assigned to the public key of
the solver.
Hashcash proposed by Adam Back, Haschash, a system
relied on a cryptographic hash function to derive a probabilistic
proof of computational work as authentification system Pow
(Proof of work)[7]
And the last is RPOW Hal finney propose currency system
based on a reusable proof of work (RPOW) in 2004[8].
Between 2008 and 2009, Bitcoin was made as to the first
decentralized cryptocurrency by Satoshi Nakamoto. Nakamoto
published the Bitcoin whitepaper in 2008[9], and after January
3
rd,
2009, the genesis block of the bitcoin protocol was created.
Nowadays it is most successful cryptocurrency in terms of
market capitalization, beside above 700 altcoins that circulated
in the world (eg. Litcoin, Etherum) based on Bitcoin have been
proposed since the launch of Bitcoin.
B. Bitcoin Price Predictions Methods
There are many people doing research about the prediction
of cryptocurrency. Greaves et al. [10] is a proposed technique
using Logistic Regression and SVM and analyzed using Graph
to predict bitcoin price. Huisu Jang et al. [11] they concern
about a study on modeling and prediction bitcoin with
Bayesian Neural Network and giving some knowledge about
bitcoin. Edwin sin et al. [12] provide topic Bitcoin price
prediction using Ensemble of Neural. Networks. Arief Radityo
et al.[2] proposed a prediction of bitcoin using Artificial Neural
Network Technique. They combine with market technical
indicators but the results are worse of performance and training
time
Papers using LSTM, Sean et al [13] They propose method
the price of Bitcoin using RNN and combine Using Recurrent
Neural Network and Long Short Term Memory and Ruchi
Mittal et al [14] is propose an Automated cryptocurrencies
prices prediction using machine learning technique based on
the historical trend (daily trend). Chih-Hung et al. [15] are
created new forecasting framework bitcoin price using LSTM,
they proposed with two various LSTM models (conventional
LSTM and LSTM with AR(2) model) with 208 records dataset,
compared with MSE, RMSE, MAE, and MAPE. Fei Qian et
al.[16] produced a common stock market prediction model
based on LSTM under Different factor that impacts the market,
in this research their selected three stock with similar trends.
The LSTM prediction model is performed well.
The researches above proposed various method to
prediction bitcoin. In this paper, we analyze and constructing a
model to predict bitcoin using LSTM
C. Bitcoin price predictions Technique
Technically Bitcoin stock market prediction it’s the same
with prediction technique on the common stock exchange but
in the other way, when you try another technique and strategy
like sentiment analysis maybe we can’t get different results
orthe strategy it does not work. Because beside many factors
that impact on stock exchange prediction, Bitcoin it’s
decentralized and not regulated by any party so it’s different
from common currency or the common stock market.
We can use the same algorithm to Bitcoin prediction using
Machine Learning (eq. SVM, Naïve Bayes, Regression)
[10][11] or any other Advance Machine learning technique to
improve the results like Deep Learning using Neural Network
(eq. ANN and RNN)[2]
On Prediction, we can predict Bitcoin using technique on
the specific subject that we wanted. Example, we want to
predict only by the signal or the price, or we can predict just for
current day or next day close value based on Long Short Term
Memory (LSTM),[14] historical price and other technique like
regime prediction to detect current day’s trend on market, to
help investor to make decision to investment.
To make more accurate and enrich the result we can
combine the prediction algorithm with another method or
technique on prediction Bitcoin
In this section, we describe some of the technique that
mentions previous research on some papers.
Market technical analysis is a method that studies price
movements by looking at historical price data that occur in the
market through media charts. By studying this historical data a
conclusion can be drawn for making investment decisions in
the market.
There are several reasons why we should use TA, the first,
not necessarily fundamental analysis can be applied in trading.
I do not say Fundamental is not important, but here that needs
to be underlined fundamental analysis will be far more
important if our position as an Investor where the investment
period can take more than one year.
Secondly, with the media chart, it will be seen how the
journey of a stock price where it is very helpful for traders to
analyze in anticipation of future price changes and see patterns
of patterns that occur in the price movements of a stock, so
traders do not trade in ' darkness or without clear direction.[17]
Another technique to interpretation trend is Technical
Indicator [18]is a series of data points obtained by applying
the formula to securities price of data. The combinations of
price data, such as close, low, high, low and open can be used
as data point certain period of time.
Time series Data Analysis in the terms of future price
predictions popular methods is using Autoregressive
integrated moving average (ARIMA) models are a popular
choice for forecasting over a short term condition, it works
when data exhibits consistent or stable pattern (constant) over
time with least possible outliers. But this does not work
always in the real-time scenario, where data fluctuated
drastically and it is highly volatile.[19]
Trading Strategy, this strategy is that we maintain the
position of +1 Bitcoin, 0 Bitcoin or 1 Bitcoin. [20]
III. METHODOLOGY
LSTM (Long Short Term Memory) is another type of
module provided for RNN. LSTM was created by Hochreiter
& Schmidhuber (1997)[3] and later developed and
popularized by many researchers. Like RNN, the LSTM
network (LSTM network) also consists of modules with
207
Authorized licensed use limited to: UNIVERSITY TEKNOLOGI MALAYSIA. Downloaded on March 01,2021 at 14:12:51 UTC from IEEE Xplore. Restrictions apply.
recurrent consistency.
LSTM is an updated version from RNN, the difference is
the connection between the hidden layers of RNN. The
explanation structure of RNN is shown in Figure 1. RNN &
LSTM have a similar structure, the other different is memory
cell of structure hidden layer. And the design of three special
gates effectively solve the gradient problems. The LSTM
memory structure of hidden layer shown in Figure 2. [16]
Figure 1. The Expanded Structure of RNN[21]
In Figure 1 explains the RNN has shortcomings, the
shortcomings can be seen in the input X
o
, X
1
has a very large
range of information X
t,,
X
t+1
so that when 
1+1
requires
information those that are relevant X
o,
X
1
to RNN are unable to
learn to link information because of old memory saved will be
increasingly useless as time goes by because it is overwritten or
replaced with new memory, this problem was discovered by
Bengio, et al. (1994)[22] .
Unlike the RNN, LSTM does not have the disadvantage is
that LSTM can manage the memory at each input by using
memory cells and gate units.
Figure 2. LSTM memory cell structure of the hidden
layer[16]
i
= the input gate, it’s means
information will be updated in the cell
t
= the forget gate, it’s means
information should be dropped from the cell.
t
= the output gate, it means how much
information is output
t
= the candidate value for the states of the
memory cell at time t.
t
= the state of the current memory cell at time t,
which calculated by the combination of
I and
t
t
and
t -1
through element-wise multiapplication
t
= it’s mean output value filtered by output gate
= is denoted denotes sigmoid function with the
range 0 to 1, the function is used to put the value
between -1 and 1.
A. Propose Method
Figure 3. Prediction Method
Based on Figure 3 The process start from collect the data,
dataset is collected from yahoo finance stock market based on
the USD Exchange rate and collected from CCC -
CryptoCompare. Currency in USD, with 5 years period from
27-06-2014 until 27-06-2019, this is historical data prices, so in
this research used time-series data on this experimental, with
1829 number of datasets, on CSV format. Figures 3 show the
sample data of datasets.
Figures 4. Sample data
208
Authorized licensed use limited to: UNIVERSITY TEKNOLOGI MALAYSIA. Downloaded on March 01,2021 at 14:12:51 UTC from IEEE Xplore. Restrictions apply.
IV. EXPERIMENTAL
AND
RESULTS
Figures 4 below shown pre-processing result to load the
dataset into machine and algorithm, and then shown the last
day close price data of bitcoin before we train and test and
predict the results.
Figures 5. Close price History data bitcoin
For Step Split and training the data, we divided 4 years period
of data for training and 1 year for testing. Split at 1462 data in.
While splitting the data into train and validation, we cannot use
random splitting since that will destroy the time
component[23]. So we set the last year’s data into test and the
4 years’ data before that into train the dataset.
A. Scenario analysis results using RMSE
Before finalizing the results we try to Measure the results
using RMSE, RMSE is (the Root Mean Square Error). The
RMSE will always be larger or equal to the MAE. The
RMSE metric evaluates how well a model can predict a
continuous value. The RMSE units are the same units as
your data’s dependent variable/target (so if that’s dollars,
this is in dollars), which is useful for understanding
whether the size of the error is meaningful or not. The
smaller the RMSE, the better the model’s
performance.[24]
This is the formula RMSE =
i - i
)
2
[25]
Where N is the total number of observations,
i
is the actual
value; whereas,
i
is the predicted value. The main benet
using RMSE is that it penalizes large errors. It also scales the
scores in the same units as the forecast values).
We combine the epoch and model dropout to search the best
results.The number of epoch we used: 10, 100, 1000, 200, 400,
800, 2000, and 5000. With the number of model dropout we
combined with 0, 0,1 and 0,5.
No Epoch Model Dropout RMSE Results
1 10 0 631.74963
2 100 0 455.98107
3 1000 0 825.37505
4 200 0 360.64511
5 400 0 354.18368
6 500 0 288.59866
7 800 0 292.78967
8 2000 0 477.91428
9 5000 0 474930575
10 500 0,1 602.140637
11 500 0,5 313.6623
Table 1. RMSE Results
Based on Table 1 The smaller results is using 500
epoch with model dropout 0. With RMSE results 288.59866. as
RMSE mention on above, The smaller the RMSE, the better
the model’s performance, after that we use to produce the
results.
Figures 6. Prediction result price of bitcoin
Based on figures 6 that result from prediction using LSTM
shown by the graph with epoch 500, model dropout 0, and,
Yellow Line is a result for the close prediction, the Blue and
Green line is from Data Training. The price result is above
$12600 for next days based on the model.
V. C
ONCLUSION AND
F
UTURE
W
ORKS
Our Proposed model has been succeeded to provide the
result prediction bitcoin from yahoo finance stock market. Our
model with time series techniques can build produce the
results and the results can predict the price for the next days
with split the data to train and test that we mention in the
article above. But the disadvantage is the result it’s not good
enough regarding the RMSE, maybe under the hundreds or
209
Authorized licensed use limited to: UNIVERSITY TEKNOLOGI MALAYSIA. Downloaded on March 01,2021 at 14:12:51 UTC from IEEE Xplore. Restrictions apply.
near close to 50 Score RMSE. Afterward, as we mentioned
before in the article, the stock market is influenced by many
uncertainty factors. The Stock markets are influenced by many
uncertainties factor such as political issue, the economic issue
at impacted to local or global levels. So prediction price
bitcoin using LSTM can’t good enough to make the decision
to invest in bitcoin, it is another side for taking the decisions.
Future research will focus on, modified LSTM layers,
adding dropout and modified number of epochs, and using
different instability dataset to test how good the prediction
results or try to use sentiment analysis combined with LSTM
method to see the impact of the uncertainty in value bitcoin.
A
CKNOWLEDGMENT
This work was supported by the Department of
Informatics, Universitas Bina Darma. Jalan A. Yani No. 3
Palembang, Indonesia.
R
EFERENCES
[1] B. U. (BTC-USD) and C.-C. C. in USD, “Yahoo
Finance,” 2019. [Online]. Available:
https://finance.yahoo.com/quote/BTC-USD?p=BTC-
USD. [Accessed: 14-Mar-2019].
[2] A. Radityo, Q. Munajat, and I. Budi, “Prediction of
Bitcoin exchange rate to American dollar using
artificial neural network methods,” in Advanced
Computer Science and Information Systems
(ICACSIS), 2017 International Conference on, 2017,
pp. 433–438.
[3] S. Hochreiter and J. Schmidhuber, “Long short-term
memory,” Neural Comput., vol. 9, no. 8, pp. 1735–
1780, 1997.
[4] A. Judmayer, N. Stifter, K. Krombholz, and E.
Weippl, “Blocks and Chains: Introduction to Bitcoin,
Cryptocurrencies, and Their Consensus Mechanisms,”
Synth. Lect. Inf. Secur. Privacy, Trust, 2017.
[5] W. Dai, “B-money proposal,” White Pap., 1998.
[6] N. Szabo, “Bit gold,” Website/Blog, 2008.
[7] A. Back, “Hashcash.” 1997.
[8] Hal Finney, “RPOW - Reusable Proofs of Work,”
Agosto 15, 2004. 2004.
[9] S. Nakamoto and others, “Bitcoin: A peer-to-peer
electronic cash system,” 2008.
[10] A. Greaves and B. Au, “Using the bitcoin transaction
graph to predict the price of bitcoin,” No Data, 2015.
[11] H. Jang and J. Lee, “An Empirical Study on Modeling
and Prediction of Bitcoin Prices With Bayesian Neural
Networks Based on Blockchain Information,” IEEE
ACCESS, vol. 6, pp. 5427–5437, 2018.
[12] E. Sin and L. Wang, “Bitcoin Price Prediction Using
Ensembles of Neural Networks,” in 2017 13TH
INTERNATIONAL CONFERENCE ON NATURAL
COMPUTATION, FUZZY SYSTEMS AND
KNOWLEDGE DISCOVERY (ICNC-FSKD), 2017,
pp. 666–671.
[13] S. McNally, J. Roche, and S. Caton, “Predicting the
price of Bitcoin using Machine Learning,” in Parallel,
Distributed and Network-based Processing (PDP),
2018 26th Euromicro International Conference on,
2018, pp. 339–343.
[14] R. Mittal, S. Arora, and M. P. S. Bhatia,
“AUTOMATED CRYPTOCURRENCIES PRICES
PREDICTION USING MACHINE LEARNING,”
2018.
[15] C.-H. Wu, C.-C. Lu, Y.-F. Ma, and R.-S. Lu, “A New
Forecasting Framework for Bitcoin Price with
LSTM,” in 2018 IEEE International Conference on
Data Mining Workshops (ICDMW), 2018, pp. 168–
175.
[16] F. Qian and X. Chen, “Stock Prediction Based on
LSTM under Different Stability,” in 2019 IEEE 4th
International Conference on Cloud Computing and
Big Data Analysis (ICCCBDA), 2019, pp. 483–486.
[17] J. J. Murphy, “Technical Analysis Of The Financial
Markets,” Pennsylvania Dental Journal. 1999.
[18] E. Kristensen, S. Østergaard, M. A. Krogh, and C.
Enevoldsen, “Technical Indicators of Financial
Performance in the Dairy Herd,” J. Dairy Sci., 2008.
[19] C. Scheier and W. Tschacher, “Appropriate algorithms
for nonlinear time series analysis in psychology,” in
Nonlinear dynamics in human behavior, World
Scientific, 1996, pp. 27–43.
[20] D. Shah and K. Zhang, “Bayesian regression and
Bitcoin,” in 2014 52nd Annual Allerton Conference on
Communication, Control, and Computing (Allerton),
2014, pp. 409–414.
[21] M. W. P. Aldi, J. Jondri, and A. Aditsania, “Analisis
Dan Implementasi Long Short Term Memory Neural
Network Untuk Prediksi Harga Bitcoin,”
eProceedings Eng., vol. 5, no. 2, 2018.
[22] Y. Bengio, P. Simard, and P. Frasconi, “Learning
Long-Term Dependencies with Gradient Descent is
Difficult,” IEEE Trans. Neural Networks, 1994.
[23] AISHWARYA SINGH, “Stock Prices Prediction
Using Machine Learning and Deep Learning
Techniques (with Python codes),” OCTOBER 25,
2018, 2018. [Online]. Available:
https://www.analyticsvidhya.com/blog/2018/10/predic
ting-stock-price-machine-learningnd-deep-learning-
techniques-python/. [Accessed: 20-Jun-2019].
[24] Squark, “ROOT MEAN SQUARE ERROR OR
RMSE.” [Online]. Available:
https://squarkai.com/root-mean-square-error-or-
rmse/#.XWVCLegzZPY. [Accessed: 28-Aug-2019].
[25] J. Brownlee, “Time series prediction with lstm
recurrent neural networks in python with keras,”
Available Mach. com, p. 18, 2016.
210
Authorized licensed use limited to: UNIVERSITY TEKNOLOGI MALAYSIA. Downloaded on March 01,2021 at 14:12:51 UTC from IEEE Xplore. Restrictions apply.
... The tool offers historical data from 2010 to the most recent trading day and focuses on the listed companies on BSE and Indian stocks. Machine learning approaches enable prediction of today's closing price for any stock one wishes for when models like Simple Recurrent Neural Network (RNN) [1][2] [3], Gated Recurrent Unit(GRU) [4] , Long short term memory (LSTM) [5] [2][3] [4], Support Vector Regressor(SVR) [1] [6] and an ensemble of these models are used. Furthermore, sentiment analysis determines whether the company has been evaluated favorably or unfavorably in recent news pieces about them and their products, so recommending whether or not to buy or sell.We use TextBlob [7] [8] for sentiment analysis. ...
... Both LSTM and GRU performed well while predicting the prices. In the paper [5] the author used Yahoo finance(yfinance) to get the data of Bitcoin and cryptocurrency prices and used LSTM in order to predict the prices. However LSTM did not perform as per the author's expectation. ...
... Finance(yfinance) [5][9] library was used to get the daily closing price for stock price prediction, news for sentiment analysis, volumes, historical prices etc. as it is a reliable and trusted open source library which covers a wast variety of global financial markets. Data from 2010 to 2023 was used to train the models. ...
Article
Full-text available
The continued challenge in the world of finance is an accurate prediction of stock prices. This article investigates a trading system that uses machine learning algorithms to make recommendations on stocks to trade. This method integrates historical price analysis with sentiment examination in recent news articles. In this manner, the user is thus able to recognize patterns and predict future price movements using training models based on historical stock prices, turnover rates and other related indicators. Further, this study includes news articles’ sentiments which tell how much news-driven sentiment affects the values of shares, and recommend the user whether to buy or sell or hold onto a particular stock. Performing standard metric tests on our approach and comparing its outcomes with traditional trading strategies, helps refine this study. By combining ratios like Simple Moving Average (SMA), Relative Strength Index (RSI) and fundamental analysis, gave ability to gauge the bullish or bearish behavior of a stock, aiding in providing a recommendation to the user based on previous data and further predictions. Through this research, evidence is provided within the algorithmic trading literature for machine learning and sentiment analysis that support datadriven stock recommendations. Implementing various machine learning models, this study concluded that an Ensemble technique using LSTM,RNN and GRU gave the best accuracy for the user with R² having value 0.9976.
... It also addresses the common vanishing/exploding gradient problem common with RNN's by keeping track of a separate "cell state" that changes with each iteration (Graves, 2012;Katrompas and Metsis, 2022). Due to these advantages, LSTM networks are one of the most popular models of choice for sequence-type datasets and have been successfully applied in multiple domains such as finance (Cao et al., 2019;Ferdiansyah et al., 2019;Moghar and Hamiche, 2020), manufacturing (Essien and Giannetti, 2020;Bai et al., 2021;Liu et al., 2023), healthcare (Islam et al., 2019;Awais et al., 2021), meteorology (Fente and Singh, 2018;Salman et al., 2018;Hossain and Mahmood, 2020;Karevan and Suykens, 2020), fisheries (Núñez et al., 2018;Zhao et al., 2020;Xu et al., 2023). Meanwhile, CNN's excel at capturing spatial relationships within the data, making them ideal for analyzing geographical distributions of fish populations. ...
Preprint
Full-text available
Efficient fisheries management is crucial for sustaining both marine ecosystems and the economies that heavily depend on them, such as Iceland, where the fishing industry contributes significantly to national export revenues. Current fishing practices involve decisions informed by a combination of personal experience, current data on environmental and oceanographic conditions, reports from other captains, and target species within the constraints of the quota of the ship. However, the intricate spatiotemporal dynamics of fish behaviour in marine environments make it difficult to predict fish stock distributions, despite technological breakthroughs in fishing vessel data collection. Much of the decision-making still relies heavily on subjective judgment, highlighting the need for more robust, data-driven predictive methods. In an attempt to address this gap, this paper presents CATCH, a Convolutional LSTM neural network model that forecasts fish stock probability densities over time and space in Icelandic waters. The framework represents the first utilization of large-scale Icelandic fishing fleet data in such an advanced and predictive manner. The AI model efficiently captures the complex patterns affecting fish populations by integrating multidimensional data on depth, bottom temperature, and catch per unit effort (CPUE) probability densities. It then produces a multivariate forecast of these features going forward in time. The CATCH model demonstrates high accuracy and robustness, with low error metrics and strong structural similarity to the observed testing data. It also exhibits promising generalization capabilities across multiple commercially significant species, including Atlantic cod, haddock, saithe, golden redfish, and Greenland halibut. These results suggest that deep learning models like CATCH can serve as powerful tools for optimizing fisheries operations, enhancing sustainability, and supporting data-driven decision-making in fisheries management. Further improvements might extend the applicability of the model, including integration with detailed biological context and generalizing across multiple species groups, refining its predictive capabilities for broader ecological insights.
... LSTM creates RNN architectures capable of resolving learning challenges associated with information linkage. In an RNN, the old memory becomes increasingly ineffective as the new memory overwrites it [30]. However, RNNs suffer from vanishing and bursting gradients, which occur when the range of values across layers in architecture changes. ...
Preprint
Full-text available
Deep learning is a machine learning approach that produces excellent performance in various applications, including natural language processing, image identification, and forecasting. Deep learning network performance depends on the hyperparameter settings. This research attempts to optimize the deep learning architecture of Long short term memory (LSTM), Convolutional neural network (CNN), and Multilayer perceptron (MLP) for forecasting tasks using Particle swarm optimization (PSO), a swarm intelligence-based metaheuristic optimization methodology: Proposed M-1 (PSO-LSTM), M-2 (PSO-CNN), and M-3 (PSO-MLP). Beijing PM2.5 datasets was analyzed to measure the performance of the proposed models. PM2.5 as a target variable was affected by dew point, pressure, temperature, cumulated wind speed, hours of snow, and hours of rain. The deep learning network inputs consist of three different scenarios: daily, weekly, and monthly. The results show that the proposed M-1 with three hidden layers produces the best results of RMSE and MAPE compared to the proposed M-2, M-3, and all the baselines. A recommendation for air pollution management could be generated by using these optimized models
... Bitcoin was conceptualized as a novel payment system that facilitates instantaneous electronic currency transactions [1]. When considering Bitcoin, the primary concept that arises is that of blockchain For example, ANN [2,3], LSTM [4,5]; SVR [6], CNN [7][8][9], XGBoost [10,11] and CNN-BiLSTM Hybrid Model [12][13][14][15]. This is the first study that employed gold, stock market, oil and dollar index to predict Bitcoin price. ...
Article
Full-text available
Bitcoin has become a prominent financial instrument in recent years, attracting increasing attention as a digital currency. Accurately forecasting the valuation of a financial asset carries substantial significance for both retail and institutional investors. The aim of this study is to evaluate and compare the predictive capabilities of various models, namely Support Vector Regression (SVR), Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), a hybrid model combining CNN and Bidirectional LSTM (CNN-BiLSTM), and XGBoost, in the context of forecasting Bitcoin price. The main aim of this study is to ascertain the algorithm that demonstrates the most efficacy in forecasting the price of Bitcoin. This study utilizes the S&P500 index, Gold/Dollar exchange rate, West Texas Spot Oil Price, and Dollar Index as exogenous factors in order to forecast the price of Bitcoin. The dataset encompasses a consecutive time span of 2191 days, commencing on January 1, 2015 and concluding on September 18, 2023. The models outlined in the study undergo a two-stage procedure, including of training and testing. The assessment of the models' performance was carried out by utilizing several statistical measures, such as Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R-squared (R2). The results indicate that the XGBoost algorithm had greater performance in projecting the price of Bitcoin, as evidenced by its consistently higher performance metrics across all evaluated aspects. The XGBoost model was succeeded by the CNN-BiLSTM, CNN, and LSTM models, which are hybrid methodologies, resulting in the most advantageous results. The SVR model demonstrated the least favorable performance..
Article
Full-text available
In recent years, there has been growing interest in the prediction of financial market trends, due to its potential applications in the real world. Unlike traditional investment avenues such as the stock market, the foreign exchange (Forex) market revolves around two primary types of orders that correspond with the market's direction: upward and downward. Consequently, forecasting the behaviour of the Forex behaviour market can be simplified into a binary classification problem to streamline its complexity. Despite the significant enhancements and improvements in performance seen in recent proposed predictive models for the forex market, driven by the advancement of deep learning in various domains, it remains imperative to approach these models with careful consideration of best practices and real-world applications. Currently, only a limited number of papers have been dedicated to this area. This article aims to bridge this gap by proposing a practical implementation of deep learning-based predictive models that perform well for real-world trading activities. These predictive mechanisms can help traders in minimising budget losses and anticipate future risks. Furthermore, the paper emphasises the importance of focussing on return profit as the evaluation metric, rather than accuracy. Extensive experimental studies conducted on realistic Yahoo Finance data sets validate the effectiveness of our implemented prediction mechanisms. Furthermore, empirical evidence suggests that employing the use of three-value labels yields superior accuracy performance compared to traditional two-value labels, as it helps reduce the number of orders placed.
Article
Full-text available
Currently, Cryptocurrency is one of the trending areas of research among researchers. Many researchers may analyze the cryptocurrency features in several ways such as market price prediction, the impact of cryptocurrency in real life and so on. In this paper, we focus on market price prediction of the number of cryptocurrencies based on their historical trend. For our study, we tried to understand and identify the daily trends in the cryptocurrency market which analyzing the features related to the price of cryptocurrency. Our dataset consists of over nine features relating to the cryptocurrency price recorded daily over the period of 6 months. We applied some machine-learning algorithms to predict the daily price change of cryptocurrencies.
Article
Full-text available
Bitcoin has recently attracted considerable attention in the fields of economics, cryptography, and computer science due to its inherent nature of combining encryption technology and monetary units. This study reveals the effect of Bayesian neural networks (BNNs) by analyzing the time series of Bitcoin process. We also select the most relevant features from Blockchain information that is deeply involved in Bitcoinb’s supply and demand and use them to train models to improve the predictive performance of the latest Bitcoin pricing process. We conduct the empirical study that compares the Bayesian neural network with other linear and non-linear benchmark models on modeling and predicting the Bitcoin process. Our empirical studies show that BNN performs well in predicting Bitcoin price time series and explaining the high volatility of the recent Bitcoin price.
Chapter
Full-text available
Chaos theory has a strong appeal for psychology because it allows for the investigation of the dynamics and nonlinearity of psychological systems. Consequently, chaos-theoretic concepts and methods have recently gained increasing attention among psychologists and positive claims for chaos have been published in nearly every field of psychology. Less attention, however, has been paid to the appropri-ateness of chaos-theoretic algorithms for psychological time series. An appropriate algorithm can deal with short, noisy data sets and yields 'objective' results. In the present paper it is argued that most of the classical nonlinear techniques don't satisfy these constraints and thus are not appropriate for psychological data. A methodological approach is introduced that is based on nonlinear forecasting and the method of surrogate data. In artificial data sets and empirical time series we can show that this methodology reliably assesses nonlinearity and chaos in time series even if they are short and contaminated by noise.
Article
In this paper, we discuss the method of Bayesian regression and its efficacy for predicting price variation of Bitcoin, a recently popularized virtual, cryptographic currency. Bayesian regression refers to utilizing empirical data as proxy to perform Bayesian inference. We utilize Bayesian regression for the so-called "latent source model". The Bayesian regression for "latent source model" was introduced and discussed by Chen, Nikolov and Shah (2013) and Bresler, Chen and Shah (2014) for the purpose of binary classification. They established theoretical as well as empirical efficacy of the method for the setting of binary classification. In this paper, instead we utilize it for predicting real-valued quantity, the price of Bitcoin. Based on this price prediction method, we devise a simple strategy for trading Bitcoin. The strategy is able to nearly double the investment in less than 60 day period when run against real data trace.