A Comparative Performance Analysis of Machine Learning Models for Predicting Technology Sector Stock Returns Using Global Macroeconomic Indicators

Authors

  • Rahul Verma Student, Department of Computer Science and Engineering, Greater Noida Institute of Technology (GGSIPU), Greater Noida, Uttar Pradesh, India
  • Arbaz Student, Department of Computer Science and Engineering, Greater Noida Institute of Technology (GGSIPU), Greater Noida, Uttar Pradesh, India
  • Mohammad Shahrookh Husain Assistant Professor, Department of Computer Science and Engineering, Greater Noida Institute of Technology (GGSIPU), Greater Noida, Uttar Pradesh, India
  • Bhoomi Roy Student, Department of Computer Science and Engineering, Greater Noida Institute of Technology (GGSIPU), Greater Noida, Uttar Pradesh, India
  • Gungun Verma Student, Department of Computer Science and Engineering, Greater Noida Institute of Technology (GGSIPU), Greater Noida, Uttar Pradesh, India
Published 2026-09-30
Section Research Paper
AccessSubscription

DOI:

https://doi.org/10.37591/njfpm.v9i2.2068

Keywords:

Machine Learning Stock Market Prediction Macroeconomic Indicators Random Forest XGBoost Financial Forecasting

Abstract

The financial markets do not depend on a single factor but are the result of interaction of macroeconomic, investor sentiment, and efficient company-specific factors. It is also difficult to predict the stock market especially in the technology industry because they are nonlinear and highly dynamic. The past few years have seen machine learning methods become effective tools in the analysis of financial data and the identification of implicit relationships that cannot be captured by standard statistical models. This study explores whether machine learning models can be effective in daily returns of the technology industry based on macroeconomic indicators and market variables. The data used in this study is the Kaggle dataset known as “Tech Giants and Global Macroeconomic Indicators” ,which is a dataset that comprises financial and macroeconomic data between March 2015 and March 2026. The data is comprised of 2762 trading days and 44 financial indicators that are stock prices, market indices, volatility, and macroeconomic variables. Three prediction models based on machine learning were tested and compared in terms of predictability: Random Forest Regressor, XGBoost Regressor with support of a GPU, and a neural network of a Multi Layer Perceptron. To assess the models, Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), R-squared score, and training time were used. The outcome of experiments suggests that the Random Forest model has the largest predictive accuracy, whereas XGBoost has a much higher training time and is still competitive. Its findings point to the promise of machine learning methods in financial predictions and how macroeconomic predictors can give valuable clues on predicting returns in the technology sector.

References

1. E. Fama, “Efficient Capital Markets: A Review of Theory and Empirical Work,” Journal of Finance, vol. 25, no. 2, pp. 383–417, 1970.

2. J. Liu, “Predicting Chinese Stock Market Using XGBoost Multi-Objective Optimization with Optimal Weighting,” PeerJ Computer Science, 2024.

3. Y. LeCun, Y. Bengio, and G. Hinton, “Deep Learning,” Nature, vol. 521, pp. 436–444, 2015.

4. R. Tsay, “Analysis of Financial Time Series,” Wiley Series in Probability and Statistics, 2010.

5. Y. Zhang and S. Li, “Stock Market Prediction Using Machine Learning Methods,” IEEE Access, 2020.

6. F. M. P. Fozap, “Hybrid Machine Learning Models for Long-Term Stock Market Forecasting: Integrating Technical Indicators,” Journal of Risk and Financial Management, vol. 18, no. 4, p. 201, 2025.

7. I. Goodfellow, Y. Bengio, and A. Courville, “Deep Learning,” MIT Press, 2016. 8. S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Computation, vol. 9, no. 8, pp. 1735–1780, 1997.

9. S. Patel, M. Shah, P. Thakkar, and K. Kotecha, “Predicting Stock Market Index Using Fusion of Machine Learning Techniques,” Expert Systems with Applications, 2015.

10. R. K. Singh, Y. Singh, S. Kumar, A. Kumar, and W. S. Alruwaili, “Mapping Risk–Return Linkages and Volatility Spillover in BRICS Stock Markets through the Lens of Linear and Non-linear GARCH Models,” Journal of Risk and Financial Management, vol. 17, no. 10, p. 437, 2024.

11. H. Markowitz, “Portfolio Selection,” Journal of Finance, vol. 7, no. 1, pp. 77–91, 1952.

12. L. Breiman, “Random Forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001.

13. T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,” Proceedings of the ACM SIGKDD Conference, 2016

14. M. Dixon, D. Klabjan, and J. H. Bang, “Classification Based Financial Markets Prediction Using Deep Neural Networks,” Algorithmic Finance, 2017.

15. A. Fischer and C. Krauss, “Deep Learning with Long Short-Term Memory Networks for Financial Market Predictions,” European Journal of Operational Research, 2018.

16. J. B. Heaton, N. G. Polson, and J. H. Witte, “Deep Learning for Finance: Deep Portfolios,” Applied Stochastic Models in Business and Industry, 2017.

17. J. Zou and Z. Li, “Stock Price Prediction Using SA-BiGRU Model Based on Random Forest,” Journal of Systems Science and Complexity, vol. 36, no. 4, pp. 987–1003, 2023.

18. J. Hao, F. He, F. Ma, and X. Zhang, “Machine Learning vs Deep Learning in Stock Market Investment: An International Evidence,” Annals of Operations Research, 2023

Published

2026-09-30

How to Cite

A Comparative Performance Analysis of Machine Learning Models for Predicting Technology Sector Stock Returns Using Global Macroeconomic Indicators. (2026). NOLEGEIN-Journal of Financial Planning and Management, 9(2). https://doi.org/10.37591/njfpm.v9i2.2068

Similar Articles

101-110 of 126

You may also start an advanced similarity search for this article.