Predicting The Stock Trend Using News Sentiment Analysis and Technical Indicators in Spark

Taylan Kabbani, Fatih Enes Usta
1/19/2022
q-fin.STcs.LG

Official code: taylankabbani/Predicting-The-Stock-Trend-Using-News-Sentiment-Analysis-and-Technical-Indicators-in-Spark (2 stars, Jupyter Notebook, last commit 2022-02-05).

Abstract

Predicting the stock market trend has always been challenging since its movement is affected by many factors. Here, we approach the future trend prediction problem as a machine learning classification problem by creating tomorrow_trend feature as our label to be predicted.

Show full abstract

Different features are given to help the machine learning model predict the label of a given day; whether it is an uptrend or downtrend, those features are technical indicators generated from the stock's price history. In addition, as financial news plays a vital role in changing the investor's behavior, the overall sentiment score on a given day is created from all news released on that day and added to the model as another feature. Three different machine learning models are tested in Spark (big-data computing platform), Logistic Regression, Random Forest, and Gradient Boosting Machine. Random Forest was the best performing model with a 63.58% test accuracy.

View on arXivView PDF

Code Implementations(1)

Similar Papers

Cite this paper

@article{kabbani2022predicting,
  title  = {Predicting The Stock Trend Using News Sentiment Analysis and Technical Indicators in Spark},
  author = {Taylan Kabbani and Fatih Enes Usta},
  year   = {2022},
  eprint = {2201.12283},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.12283}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.12283.svg)](https://codeofpaper.com/paper/2201.12283)

Discussion