LSTM based stock prediction using weighted and categorized financial news

A significant correlation between financial news with stock market trends has been explored extensively. However, very little research has been conducted for stock prediction models that utilize news categories, weighted according to their relevance with the target stock. In this paper, we show that...

Full description

Bibliographic Details
Main Authors: Shazia Usmani, Jawwad A. Shamsi
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2023-01-01
Series:PLoS ONE
Online Access:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9990937/?tool=EBI
_version_ 1811155432737079296
author Shazia Usmani
Jawwad A. Shamsi
author_facet Shazia Usmani
Jawwad A. Shamsi
author_sort Shazia Usmani
collection DOAJ
description A significant correlation between financial news with stock market trends has been explored extensively. However, very little research has been conducted for stock prediction models that utilize news categories, weighted according to their relevance with the target stock. In this paper, we show that prediction accuracy can be enhanced by incorporating weighted news categories simultaneously into the prediction model. We suggest utilizing news categories associated with the structural hierarchy of the stock market: that is, news categories for the market, sector, and stock-related news. In this context, Long Short-Term Memory (LSTM) based Weighted and Categorized News Stock prediction model (WCN-LSTM) is proposed. The model incorporates news categories with their learned weights simultaneously. To enhance the effectiveness, sophisticated features are integrated into WCN-LSTM. These include, hybrid input, lexicon-based sentiment analysis, and deep learning to impose sequential learning. Experiments have been performed for the case of the Pakistan Stock Exchange (PSX) using different sentiment dictionaries and time steps. Accuracy and F1-score are used to evaluate the prediction model. We have analyzed the WCN-LSTM results thoroughly and identified that WCN-LSTM performs better than the baseline model. Moreover, the sentiment lexicon HIV4 along with time steps 3 and 7, optimized the prediction accuracy. We have conducted statistical analysis to quantitatively assess our findings. A qualitative comparison of WCN-LSTM with existing prediction models is also presented to highlight its superiority and novelty over its counterparts.
first_indexed 2024-04-10T04:32:55Z
format Article
id doaj.art-70ddccdf149043ab8589420f7524fdd7
institution Directory Open Access Journal
issn 1932-6203
language English
last_indexed 2024-04-10T04:32:55Z
publishDate 2023-01-01
publisher Public Library of Science (PLoS)
record_format Article
series PLoS ONE
spelling doaj.art-70ddccdf149043ab8589420f7524fdd72023-03-10T05:32:25ZengPublic Library of Science (PLoS)PLoS ONE1932-62032023-01-01183LSTM based stock prediction using weighted and categorized financial newsShazia UsmaniJawwad A. ShamsiA significant correlation between financial news with stock market trends has been explored extensively. However, very little research has been conducted for stock prediction models that utilize news categories, weighted according to their relevance with the target stock. In this paper, we show that prediction accuracy can be enhanced by incorporating weighted news categories simultaneously into the prediction model. We suggest utilizing news categories associated with the structural hierarchy of the stock market: that is, news categories for the market, sector, and stock-related news. In this context, Long Short-Term Memory (LSTM) based Weighted and Categorized News Stock prediction model (WCN-LSTM) is proposed. The model incorporates news categories with their learned weights simultaneously. To enhance the effectiveness, sophisticated features are integrated into WCN-LSTM. These include, hybrid input, lexicon-based sentiment analysis, and deep learning to impose sequential learning. Experiments have been performed for the case of the Pakistan Stock Exchange (PSX) using different sentiment dictionaries and time steps. Accuracy and F1-score are used to evaluate the prediction model. We have analyzed the WCN-LSTM results thoroughly and identified that WCN-LSTM performs better than the baseline model. Moreover, the sentiment lexicon HIV4 along with time steps 3 and 7, optimized the prediction accuracy. We have conducted statistical analysis to quantitatively assess our findings. A qualitative comparison of WCN-LSTM with existing prediction models is also presented to highlight its superiority and novelty over its counterparts.https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9990937/?tool=EBI
spellingShingle Shazia Usmani
Jawwad A. Shamsi
LSTM based stock prediction using weighted and categorized financial news
PLoS ONE
title LSTM based stock prediction using weighted and categorized financial news
title_full LSTM based stock prediction using weighted and categorized financial news
title_fullStr LSTM based stock prediction using weighted and categorized financial news
title_full_unstemmed LSTM based stock prediction using weighted and categorized financial news
title_short LSTM based stock prediction using weighted and categorized financial news
title_sort lstm based stock prediction using weighted and categorized financial news
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9990937/?tool=EBI
work_keys_str_mv AT shaziausmani lstmbasedstockpredictionusingweightedandcategorizedfinancialnews
AT jawwadashamsi lstmbasedstockpredictionusingweightedandcategorizedfinancialnews