EconPapers    
Economics at your fingertips  
 

Forecasting Stock Prices using Tweets

Jiacheng Wang ()
Additional contact information
Jiacheng Wang: HEC Montreal, Data Science and Business Analytics Dept

A chapter in Proceedings of the 2023 2nd International Conference on Economics, Smart Finance and Contemporary Trade (ESFCT 2023), 2024, pp 309-330 from Springer

Abstract: Abstract Stock market price prediction is a challenging problem since the market is an immensely complex, stochastic and dynamic environment. There are many studies from various areas aiming to improve the performance of prediction and analysis of public emotion has been the focus of one of them. We use information shared over Kaggle, an online community of data scientists and machine learning practitioners, to better understand and predict stock prices of Tesla. This article studies the methods to preprocess tweets and to tune models so that neural network models and linear regression can adapt to the preprocessed tweets. According to previous authors, one way to preprocess tweets is to keep the tweets of smart user, and output can be the next-day close prices or the next-day return. For that goal, prediction models (CNN-LSTM, LSTM and linear regression) were built and modified step by step and their results were analyzed by Mean Square Error and Mean Absolute Error. Finally, the LSTM model, with close value and weighted labels as input features and return as output feature, wins the prediction of stock price of Tesla among other candidate models with different input and output features.

Keywords: CNN-LSTM; LSTM; FinBERT; linear regression; twitter; smart user; TF-IDF; sentiment analysis (search for similar items in EconPapers)
Date: 2024
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:advbcp:978-94-6463-268-2_35

Ordering information: This item can be ordered from
http://www.springer.com/9789464632682

DOI: 10.2991/978-94-6463-268-2_35

Access Statistics for this chapter

More chapters in Advances in Economics, Business and Management Research from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-05-30
Handle: RePEc:spr:advbcp:978-94-6463-268-2_35