Abstract

Accurate stock price prediction is appealing to academics, economists, and financial analysts for its potential to increase profits. Although remarkable progress has been made in stock prediction accuracy, studies to explore the relationship between public sentiments and the prediction of stock price movement based on online news portals in Malaysia context are limited. Therefore, this study aims to determine whether news sentiments influence the movement of the Bursa stock price. The stock prediction model was implemented using long short-term memory (LSTM), with stock data from Bursa Malaysia between January 2017 and April 2022, and the root mean squared error (RMSE) value was calculated. In addition, LSTM prediction model was compared to the decision tree algorithm, and LSTM performed significantly better than the decision tree, particularly when using the New York stock exchange (NYSE) dataset. Furthermore, sentiment analysis was carried out using a Malaysian online news portal's business and financial news. The findings showed that i) news has a significant impact on Malaysian stock market price movement; ii) the RMSE of the LSTM model was improved by adding a parameter (news polarity values); and iii) the RMSE value generated is less than one for every company stock and is influenced by stock price and price change magnitude.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call