Skip to main navigation menu Skip to main content Skip to site footer

Articles

Vol. 55 No. 4 (2021)

Mean-variance Portfolio Optimization with Stock Return Prediction Using XGBoost

Submitted
October 24, 2026

Abstract

Portfolio optimization is one of the most concerning issues in finance and its success relies on accurate prediction of future stock market, which is challenging due to its dynamic, non-stationary, chaotic and noisy nature. This paper studies the performance of a portfolio optimization model when combined with stock return prediction using a machine learning model. In this study, two portfolio optimization algorithms are proposed. The first algorithm performs the eXtreme Gradient Boosting (XGBoost) for stock return forecasting and the mean- variance (MV) model for portfolio selectio n. The second algorithm modifies the MV model by introducing an additional penalty term based on the prediction error of XGBoost. The empirical tests using the historical data from 2010 to 2016 of the component stocks of the Korea Composite Stock Price Index show that the proposed algorithms are superior to traditional methods.

References

  1. [1] Aggarwal, S., Aggarwal, S. (2017), Deep Investment in Financial Markets
  2. using Deep Learning Models. International Journal of Computer
  3. Applications, 162, 40-43;
  4. [2] Basak, S., Kar, S., Saha, S., Khaidem, L., Dey, S.R. (2019), Predicting the
  5. Direction of Stock Market Prices Using Tree-Based Classifiers. The North
  6. American Journal of Economics and Finance, 47, 552-567;
  7. [3] Batres-Estrada, B. (2015), Deep Learning for Multivariate Financial Time
  8. Series; (Master’s thesis), KTH, Mathematical Statistics;
  9. [4] Chen, T., Guestrin, C. (2016), XGBoost: A Scalable Tree Boosting System.
  10. In Proceedings of the 22nd ACM SIGKDD International Conference on
  11. Knowledge Discovery and Data Mining, 785-794;
  12. Mean-variance Portfolio Optimization with Stock Return Prediction Using XGBoost
  13. ____________________________________________________________
  14. 19
  15. [5] Chen, J., Tindall, M.L., Wu, W. (2016), Hedge Fund Return Prediction and
  16. Fund Selection: A Machine-Learning Approach; Occasional Papers 16-4,
  17. Federal Reserve Bank of Dallas;
  18. [6] Chen, W., Zhang, H., Mehlawat, M.K., Jia, L. (2021), Mean-variance
  19. Portfolio Optimization Using Machine Learning-based Stock Price
  20. Prediction. Applied Soft Computing Journal, 100:106943;
  21. [7] Fu, X., Du, J., Guo, Y., Liu, M., Dong, T., Duan, X. (2018), A Machine
  22. Learning Framework for Stock Selection. ArXiv, abs/1806.01743;
  23. [8] Grace, A. (2017), Can Deep Learning Techniques Improve the Risk Adjusted
  24. Returns from Enhanced Indexing Investment Strategies;
  25. [9] Heaton, J.B., Polson, N.G., Witte, J. (2016), Deep Learning for Finance:
  26. Deep Portfolios. Econometric Modeling: Capital Markets - Portfolio Theory
  27. eJournal;
  28. [10] Ince, H., Trafalis, T. (2017), A Hybrid Forecasting Model for Stock Market
  29. Prediction. Economic Computation and Economic Cybernetics Studies and
  30. Research, 51, 263-280; ASE Publishing;
  31. [11] Iwasaki, H., Chen, Y. (2018), Topic Sentiment Asset Pricing with DNN
  32. Supervised Learning. Econometric Modeling: Capital Markets - Asset Pricing
  33. eJournal;
  34. [12] Jiang, Z., Liang, J. (2017), Cryptocurrency Portfolio Management with
  35. Deep Reinforcement Learning. 2017 Intelligent Systems Conference (IntelliSys),
  36. 905-913;
  37. [13] Jiang, Z., Xu, D., Liang, J. (2017), A Deep Reinforcement Learning
  38. Framework for the Financial Portfolio Management Problem; arXiv preprint
  39. arXiv:1706.10059;
  40. [14] Jujie, W., Danfeng, Q. (2018), An Experimental Investigation of Two
  41. Hybrid Frameworks for Stock Index Prediction Using Neural Network and
  42. Support Vector Regression. Economic Computation and Economic Cybernetics
  43. Studies and Research, 52, 193-210; ASE Publishing;
  44. [15] Lee, S., Yoo, S.J. (2018), Threshold-based Portfolio: The Role of the
  45. Threshold and its Applications. The Journal of Supercomputing, 1-18;
  46. [16] Liang, Z., Jiang, K., Chen, H., Zhu, J., Li, Y. (2018), Adversarial Deep
  47. Reinforcement Learning in Portfolio Management. arXiv: Portfolio
  48. Management;
  49. [17] Lin, C., Huang, J., Gen, M., Tzeng, G. (2006), Recurrent Neural Network
  50. for Dynamic Portfolio Selection. Appl. Math. Comput., 175, 1139-1146;
  51. [18] Maknickiene, N. (2014), Selection of Orthogonal Investment Portfolio
  52. Using Evolino RNN Trading Model. Procedia - Social and Behavioral Sciences,
  53. 110, 1158-1165;
  54. Hongjoong Kim
  55. ____________________________________________________________
  56. 20
  57. [19] Markowitz, H. (1952), Portfolio Selection. Journal of finance, 7:77–91;
  58. [20] Moon, K., Kim, H. (2019), Performance of Deep Learning in Prediction of
  59. Stock Market Volatility, Economic Computation & Economic Cybernetics Studies
  60. & Research, 53(2):77-92; ASE Publishing:
  61. [21] Ozbayoglu, A.M., Gudelek, M.U., Sezer, O.B. (2020), Deep Learning for
  62. Financial Applications : A Survey. Appl. Soft Comput., 93, 106384;
  63. [22] Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B.,
  64. Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas,
  65. J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., Duchesnay, E. (2011),
  66. Scikit-learn: Machine Learning in Python; Journal of Machine Learning
  67. Research, 12:2825-2830;
  68. [23] Takeuchi, L. (2013), Applying Deep Learning to Enhance Momentum
  69. Trading Strategies in Stocks;
  70. [24] Zhou, B. (2019); Deep Learning and the Cross-Section of Stock Returns:
  71. Neural Networks Combining Price and Fundamental Information.
  72. Neuroeconomics eJournal;
  73. [25] Zolotareva, E. (2021), Aiding Long-Term Investment Decisions with
  74. XGBoost Machine Learning Model. ArXiv, abs/2104.09341.

Similar Articles

11-20 of 1307

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

Most read articles by the same author(s)