scholarly journals Data science approach to stock prices forecasting in Indonesia during Covid-19 using Long Short-Term Memory (LSTM)

2021 ◽  
Vol 8 (1) ◽  
Author(s):  
Widodo Budiharto

Abstract Background Stock market process is full of uncertainty; hence stock prices forecasting very important in finance and business. For stockbrokers, understanding trends and supported by prediction software for forecasting is very important for decision making. This paper proposes a data science model for stock prices forecasting in Indonesian exchange based on the statistical computing based on R language and Long Short-Term Memory (LSTM). Findings The first Covid-19 (Coronavirus disease-19) confirmed case in Indonesia is on 2 March 2020. After that, the composite stock price index has plunged 28% since the start of the year and the share prices of cigarette producers and banks in the midst of the corona pandemic reached their lowest value on March 24, 2020. We use the big data from Bank of Central Asia (BCA) and Bank of Mandiri from Indonesia obtained from Yahoo finance. In our experiments, we visualize the data using data science and predict and simulate the important prices called Open, High, Low and Closing (OHLC) with various parameters. Conclusions Based on the experiment, data science is very useful for visualization data and our proposed method using Long Short-Term Memory (LSTM) can be used as predictor in short term data with accuracy 94.57% comes from the short term (1 year) with high epoch in training phase rather than using 3 years training data.

2021 ◽  
Author(s):  
Armin Lawi ◽  
Hendra Mesra ◽  
Supri Amir

Abstract Stocks are an attractive investment option since they can generate large profits compared to other businesses. The movement of stock price patterns on the stock market is very dynamic; thus it requires accurate data modeling to forecast stock prices with a low error rate. Forecasting models using Deep Learning are believed to be able to accurately predict stock price movements using time-series data, especially the Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) algorithms. However, several previous implementation studies have not been able to obtain convincing accuracy results. This paper proposes the implementation of the forecasting method by classifying the movement of time-series data on company stock prices into three groups using LSTM and GRU. The accuracy of the built model is evaluated using loss functions of Rooted Mean Squared Error (RMSE) and Mean Absolute Percentage Error (MAPE). The results showed that the performance evaluation of both architectures is accurate in which GRU is always superior to LSTM. The highest validation for GRU was 98.73% (RMSE) and 98.54% (MAPE), while the LSTM validation was 98.26% (RMSE) and 97.71% (MAPE).


2021 ◽  
Vol 10 (1) ◽  
Author(s):  
Sarah Dong ◽  
Amber Wang

Predicting stock prices has been both challenging and controversial. Since it first spread through the United States, the COVID-19 pandemic has impacted the stock market in a multitude of ways. Thus, stock price prediction has become even more challenging. Recurrent neural networks (RNN) have been widely used in many fields to predict financial time series. In this study, Long Short-Term Memory (LSTM), a special form of RNN, is used to predict the stock market direction for the US airline industry by using NYSE Arca Airline Index (XAL). The LSTM model was optimized through changing different hyperparameters of the model architecture to find the best combination for increased accuracy and performance evaluated by several metrics, including raw RMSE (3.51) and MAPA (4.6%), and very high MAPA (95.4%) and R^2 (0.978).


2021 ◽  
Vol 2021 ◽  
pp. 1-8
Author(s):  
Hongying Zheng ◽  
Hongyu Wang ◽  
Jianyong Chen

As an important part of the social economy, stock market plays an important role in economic development, and accurate prediction of stock price is important as it can lower the risk of investment decision-making. However, the task of predicting future stock price is very difficult. This difficulty arises from stocks with nonstationary behavior and without any explicit form. In this paper, we propose a novel bidirectional Long Short-Term Memory Network (BiLSTM) framework called evolutionary BiLSTM (EBiLSTM) for the prediction of stock price. In the framework, three independent BiLSTMs correspond to different objective functions and act as mutation individuals, then their respective losses for evolution are calculated, and finally, the optimal objective function is identified by the minimum of loss. Since BiLSTM is effective in the prediction of time series and the evolutionary framework can get an optimal solution for multiple objectives, their combination well adapts to the nonstationary behavior of stock prices. Experiments on several stock market indexes demonstrate that EBiLSTM can achieve better prediction performance than others without the evolutionary operator.


Complexity ◽  
2020 ◽  
Vol 2020 ◽  
pp. 1-12 ◽  
Author(s):  
Daniel Štifanić ◽  
Jelena Musulin ◽  
Adrijana Miočević ◽  
Sandi Baressi Šegota ◽  
Roman Šubić ◽  
...  

COVID-19 is an infectious disease that mostly affects the respiratory system. At the time of this research being performed, there were more than 1.4 million cases of COVID-19, and one of the biggest anxieties is not just our health, but our livelihoods, too. In this research, authors investigate the impact of COVID-19 on the global economy, more specifically, the impact of COVID-19 on the financial movement of Crude Oil price and three US stock indexes: DJI, S&P 500, and NASDAQ Composite. The proposed system for predicting commodity and stock prices integrates the stationary wavelet transform (SWT) and bidirectional long short-term memory (BDLSTM) networks. Firstly, SWT is used to decompose the data into approximation and detail coefficients. After decomposition, data of Crude Oil price and stock market indexes along with COVID-19 confirmed cases were used as input variables for future price movement forecasting. As a result, the proposed system BDLSTM + WT-ADA achieved satisfactory results in terms of five-day Crude Oil price forecast.


Sign in / Sign up

Export Citation Format

Share Document