Stock Price Prediction with Social Media Sentiment

Cuskic, Marco
Nilsson, Christian
Remgård, Marcus
University of Gothenburg/Department of Business Administrationeng
Göteborgs universitet/Företagsekonomiska institutionenswe
2022-07-06T09:08:48Z
2022-07-06T09:08:48Z
2022-07-06
This thesis investigates the correlation effects between social media sentiments and the stock price of AMZN and TSLA, by utilizing pre-trained machine learning models, so-called transformers, and lexicon-based models. The comments were fetched from two sources, Reddit and Twitter. Moreover, two different approaches to incorporating the sentiment for stock price prediction were implemented. Firstly, moving average sentiment cross-over signals were studied and compared with the buy-and-hold strategy, as a baseline. Secondly, a Long Short-Term Memory neural network, with the sentiment as an additional feature, was implemented and compared to a classic Long Short-Term Memory network which only utilizes the previous stock prices as input for the prediction. The study showed evidence of significant correlation. The results indicate that social media sentiment can prove useful for stock market predictions and that there is a need for further and more extensive research on the topic in order to make more general claims. Furthermore, the transformer models turned out to not be superior to the lexicon-based model.en
https://hdl.handle.net/2077/72712
engen
IFE 21/22:31en
SocialBehaviourLaw
Sentiment analysis, Machine learning, Financial time series, Stock price, Long Short-Term Memoryen
Stock Price Prediction with Social Media Sentimenten
Text
Student essay
M2

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
21 22 31.pdf
Size:
9.67 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
4.68 KB
Format:
Item-specific license agreed upon to submission
Description: