scholarly journals Systematic optimization of Long Short-Term Memory model for predicting NYSE Arca Airline Index (XAL) during COVID-19

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.


In the stock market, it is important to have accurate prediction of future behavior of stock price..Because of the great chance of financial loss as well as scoring profits at the same time, it is mandatory to have a secure prediction of the values of the stocks. But when it comes to predicting the value of a stock in future we tend to follow stock market experts but as technology is progressing we may use these technologies rather than following human experts who may be biased many times. Stock price prediction has been interesting area for investors and researchers. This article proposes an approach towards prediction of stock price using machine learning model Long Short Term Memory. This is an ensemble learning method that has been an exceedingly successful model for predicting sequence of numbers and words. Long Short Term Memory is a machine learning model for prediction. This technique is used to forecast the future stock price of a specific stock by using historical data of the stock gathered from Yahoo! Finance.


Author(s):  
Ms. Anjima K. S

Abstract: The stock market is a difficult area to anticipate since it is influenced by a variety of variables at the same time. The stock exchange is where equities are exchanged, transferred, and circulated. This research proposes a hybrid algorithm that predicts a stock's next day closing prices using sentiment analysis and Long Short Term Memory. The LSTM model seems to be quite popular in time-series forecasting, which is why it was selected for this project. Our proposed methodology makes use of the temporal association between public opinion and stock prices. Part-of-speech tagging is used to do sentiment analysis, and Long Short Term Memory is utilized to predict the stock's next day closing price. When these two factors are combined, we get a good picture of the stock's future. In this project, two main datasets have been used: HCLTECH company stock data and the news related to each stock of the HCL company for each day. The project is implemented by using the python programming language. The python programming language has been used to execute the project. This also incorporates machine learning along with public feedback. Sentiment analysis enables us to evaluate a diversity of political and economic factors, which have a significant impact on the stock market. Keywords: LSTM, sentiment analysis, RNN, Back propagation neural network.


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).


Sign in / Sign up

Export Citation Format

Share Document