Stock Price Trend Prediction Using LSTM and Sentiment Analysis on News Headlines

Jung Bin Li, Szu Yin Lin, Fang Yie Leu*, Yen Chu Chu

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

To simulate the trading behavior of investors in the stock market, this study adopts parameters including technical, fundamental, and chip to build a LSTM model, and also observes the ability of news sentiment to predict stock prices. Influential stocks such as TSMC, Fulgent Sun, and HTC are chosen as the target of our experiment. Four common natural language processing packages are used to label news sentiment. Then the combined sentiment labels along with the LSTM model are used for backtesting. The results of the study found that FinBERT's ability to predict the price trend outperforms other methods, with an accuracy of 41.6%. In addition, combining news sentiment labels with the LSTM model generally leads to better outcome than using either the news label or the LSTM model alone. However, in certain extreme cases, traditional technical indicators or even buy-and-hold strategy have better performances.

Original languageEnglish
Title of host publicationAdvances on Broad-Band Wireless Computing, Communication and Applications - Proceedings of the 17th International Conference on Broad-Band Wireless Computing, Communication and Applications BWCCA-2022
EditorsLeonard Barolli
PublisherSpringer Science and Business Media Deutschland GmbH
Pages282-291
Number of pages10
ISBN (Print)9783031200281
DOIs
StatePublished - 2023
Event17th International Conference on Broadband Wireless Computing, Communication and Applications, BWCCA 2022, held in conjunction with the 17th International Conference on P2P, Parallel, Grid, Cloud and Internet Computing, 3PGCIC 2022 - Tirana, Albania
Duration: 27 Oct 202229 Oct 2022

Publication series

NameLecture Notes in Networks and Systems
Volume570 LNNS
ISSN (Print)2367-3370
ISSN (Electronic)2367-3389

Conference

Conference17th International Conference on Broadband Wireless Computing, Communication and Applications, BWCCA 2022, held in conjunction with the 17th International Conference on P2P, Parallel, Grid, Cloud and Internet Computing, 3PGCIC 2022
Country/TerritoryAlbania
CityTirana
Period27/10/2229/10/22

Fingerprint

Dive into the research topics of 'Stock Price Trend Prediction Using LSTM and Sentiment Analysis on News Headlines'. Together they form a unique fingerprint.

Cite this