Affiliation:
1. School of Science and Technology, International Hellenic University, 57001 Thessaloniki, Greece
Abstract
Stock market prediction is a subject of great interest within the finance industry and beyond. In this context, our research investigates the use of reinforcement learning through implementing the double deep Q-network (DDQN) alongside technical indicators and sentiment analysis, utilizing data from Yahoo Finance and StockTwits to forecast NVIDIA’s short-term stock movements over the dynamic and volatile period from 2 January 2020, to 21 September 2023. By incorporating financial data, the model’s effectiveness is assessed in three stages: initial reliance on closing prices, the introduction of technical indicators, and the integration of sentiment analysis. Early findings showed a dominant buy tendency (63.8%) in a basic model. Subsequent phases used technical indicators for balanced decisions and sentiment analysis to refine strategies and moderate rewards. Comparative analysis underscores a progressive increase in profitability, with average profits ranging from 57.41 to 119.98 with full data integration and greater outcome variability. These results reveal the significant impact of combining diverse data sources on the model’s predictive accuracy and profitability, suggesting that integrating sentiment analysis alongside traditional financial metrics can significantly enhance the sophistication and effectiveness of algorithmic trading strategies in fluctuating market environments.
Reference86 articles.
1. The Use of Technical Analysis in the Foreign Exchange Market;Taylor;J. Int. Money Financ.,1992
2. Machine Learning Stock Market Prediction Studies: Review and Research Directions;Strader;J. Int. Technol. Inf. Manag.,2020
3. Stock Market Prediction Using Machine Learning Classifiers and Social Media, News;Khan;J. Ambient. Intell. Humaniz. Comput.,2022
4. Stock Market Prediction Using Microblogging Sentiment Analysis and Machine Learning;Koukaras;Telecom,2022
5. Batra, R., and Daudpota, S.M. (2018, January 3–4). Integrating StockTwits with Sentiment Analysis for Better Prediction of Stock Price Movement. Proceedings of the 2018 International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), Sukkur, Pakistan.