Predicting the Direction of NEPSE Index Movement with News Headlines Using Machine Learning

IF 1.1 Q3 ECONOMICS
K. Dahal, Ankrit Gupta, Nawa Raj Pokhrel
{"title":"Predicting the Direction of NEPSE Index Movement with News Headlines Using Machine Learning","authors":"K. Dahal, Ankrit Gupta, Nawa Raj Pokhrel","doi":"10.3390/econometrics12020016","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":11499,"journal":{"name":"Econometrics","volume":null,"pages":null},"PeriodicalIF":1.1000,"publicationDate":"2024-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Econometrics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/econometrics12020016","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ECONOMICS","Score":null,"Total":0}
引用次数: 0

Abstract

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.
利用机器学习通过新闻标题预测 NEPSE 指数的变动方向
由于股市的模糊性、混乱性、不稳定性、非线性和复杂性,预测股市走向是一项极具挑战性的任务。然而,随着人工智能的进步、数据的丰富可用性和计算能力的提高,创建能够准确预测股市走势的强大模型现已变得可行。本研究旨在利用新闻标题构建一个预测模型,以预测股市变动方向。它对五种监督分类机器学习算法--逻辑回归(LR)、支持向量机(SVM)、随机森林(RF)、极端梯度提升(XGBoost)和人工神经网络(ANN)--进行了比较分析,以预测尼泊尔证券交易所(NEPSE)指数收盘价第二天的变动方向。新闻标题的情感得分是通过情感推理词典(VADER)和 TextBlob 情感分析器计算得出的。根据灵敏度、特异性、准确性和接收者操作特征曲线(ROC)下面积(AUC)对模型的性能进行评估。实验结果表明,在使用来自 TextBlob 分析器的情感评分时,所有五个模型的性能相当。同样,在使用来自 VADER 分析器的情感评分时,除了 SVM vs. LR 和 SVM vs. ANN 的 AUC 略有不同外,所有模型都表现出几乎相同的性能。此外,与 VADER 分析仪相比,使用 TextBlob 分析仪的情感评分时,模型的表现相对更好。这些发现通过统计测试得到了进一步验证。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Econometrics
Econometrics Economics, Econometrics and Finance-Economics and Econometrics
CiteScore
2.40
自引率
20.00%
发文量
30
审稿时长
11 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信