Predicting the direction of NEPSE index movement with news headlines using machine learning
Keshab Raj Dahal, Ankrit Gupta and Nawa Raj Pokhrel
Predicting stock market movement direction is a challenging task due to its fuzzy, chaotic, volatile, nonlinear, and complex nature. However, with advancements in artificial intelligence, abundant data availability, and improved computational capabilities, creating robust models capable of accurately predicting stock market movement is now feasible. This study aims to construct a predictive model using news headlines to predict stock market movement direction. It conducts a comparative analysis of five supervised classification machine learning algorithms-logistic regression (LR), support vector machine (SVM), random forest (RF), extreme gradient boosting (XGBoost), and artificial neural network (ANN)-to predict the next day's movement direction of the close price of the Nepal Stock Exchange (NEPSE) index. Sentiment scores from news headlines are computed using the Valence Aware Dictionary for Sentiment Reasoning (VADER) and TextBlob sentiment analyzer. The models' performance is evaluated based on sensitivity, specificity, accuracy, and the area under the receiver operating characteristic (ROC) curve (AUC). Experimental results reveal that all five models perform equally well when using sentiment scores from the TextBlob analyzer. Similarly, all models exhibit almost identical performance when using sentiment scores from the VADER analyzer, except for minor variations in AUC in SVM vs. LR and SVM vs. ANN. Moreover, models perform relatively better when using sentiment scores from the TextBlob analyzer compared to the VADER analyzer. These findings are further validated through statistical tests.
Year of publication: |
2024
|
---|---|
Authors: | Keshab Raj Dahal ; Gupta, Ankrit ; Nawa Raj Pokhrel |
Published in: |
Econometrics : open access journal. - Basel : MDPI, ISSN 2225-1146, ZDB-ID 2717594-7. - Vol. 12.2024, 2, Art.-No. 16, p. 1-26
|
Subject: | machine learning | NEPSE | neural network | prediction | stock market index | stock movement direction | text mining | Künstliche Intelligenz | Artificial intelligence | Aktienindex | Stock index | Neuronale Netze | Neural networks | Prognoseverfahren | Forecasting model | Data Mining | Data mining |
Saved in:
Saved in favorites
Similar items by subject
-
Sigo, Marxia Oli, (2020)
-
Estimation of cross-lingual news similarities using text-mining methods
Wang, Zhouhao, (2018)
-
Guo, Jian-qiang, (2020)
- More ...
Similar items by person
-
Implementation of deep learning models in predicting ESG index volatility
Bhandari, Hum Nath, (2024)
- More ...