A Novel NLP-based Stock Market Price Prediction and Risk Analysis Framework

Stock market prediction is an interesting and complex problem that has recently been in the limelight, thanks to the significant accuracy achieved by deep learning models. However, a complete platform with prediction and risk analysis ability is unavailable. In the current work, we present a novel framework for investment analysis designed to create ease for investors and provide a confidence measure along with the stock price to depict the risk involved in investing in stocks of a particular company. The model integrates two different approaches successfully to improve accuracy significantly. The model inputs two sources – a stock price dataset depicting the original scores as numerals and textual data extracted from Reddit news articles. The traditional problem of stock price prediction is dealt with using LSTMs on individual stock prices. At the same time, the confidence is represented by a risk value calculated intelligently using XGBoost and LSTM output. We have deployed natural language processing techniques for performing sentiment and subjectivity analyses, which are then used to extract features for further investigation in the study. The results show that an accuracy of 94% for stock trend prediction can be achieved using PCA as the feature extractor with tuned parameters for XGBoost and around 76% accuracy for stock price prediction with a tuned LSTM. It removes the hassle for investors to research the project or company they want to invest in and provides all relevant analysis and data.

Authors

Institutions

Publication Details

Journal
Journal of Computer Science and Technology
Published
2024-10-18
DOI
https://doi.org/10.24215/16666038.24.e07
Citations
14
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
6.87
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Novel NLP-based Stock Market Price Prediction and Risk Analysis Framework

Raja Hashim Ali, Talha Ali Khan, Zeeshan Ali, Zain Ul-Abidden
14 citations
Journal of Computer Science and Technology
Stock Market Forecasting Methods
6.87
article

A Novel NLP-based Stock Market Price Prediction and Risk Analysis Framework

Raja Hashim Ali, Talha Ali Khan, Zeeshan Ali, Zain Ul-Abidden
article en
14 citations

Abstract

Stock market prediction is an interesting and complex problem that has recently been in the limelight, thanks to the significant accuracy achieved by deep learning models. However, a complete platform with prediction and risk analysis ability is unavailable. In the current work, we present a novel framework for investment analysis designed to create ease for investors and provide a confidence measure along with the stock price to depict the risk involved in investing in stocks of a particular company. The model integrates two different approaches successfully to improve accuracy significantly. The model inputs two sources – a stock price dataset depicting the original scores as numerals and textual data extracted from Reddit news articles. The traditional problem of stock price prediction is dealt with using LSTMs on individual stock prices. At the same time, the confidence is represented by a risk value calculated intelligently using XGBoost and LSTM output. We have deployed natural language processing techniques for performing sentiment and subjectivity analyses, which are then used to extract features for further investigation in the study. The results show that an accuracy of 94% for stock trend prediction can be achieved using PCA as the feature extractor with tuned parameters for XGBoost and around 76% accuracy for stock price prediction with a tuned LSTM. It removes the hassle for investors to research the project or company they want to invest in and provides all relevant analysis and data.

Journal of Computer Science and TechnologyVol. 24(2)
University of Applied Sciences Potsdam (DE), Software (Germany) (DE), Ghulam Ishaq Khan Institute of Engineering Sciences and Technology (PK)
Quality Education
Openalex Percentile: Top 3%
Stock Market Forecasting Methods
6.87
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Novel NLP-based Stock Market Price Prediction and Risk Analysis Framework — Raja Hashim Ali, Talha Ali Khan, et al. · Journal of Computer Science and Technology (2024) | TGRS Research Map | TGRS