Advances in Economics, Management and Political Sciences

- The Open Access Proceedings Series for Conferences


Proceedings of the 2nd International Conference on Financial Technology and Business Analysis

Series Vol. 48 , 01 December 2023


Open Access | Article

Portfolio Optimization Based on the LSTM Forecasting Model

Heqing Li 1 , Ting Liu * 2
1 Carleton University
2 University of California Riverside

* Author to whom correspondence should be addressed.

Advances in Economics, Management and Political Sciences, Vol. 48, 97-106
Published 01 December 2023. © 2023 The Author(s). Published by EWA Publishing
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Citation Heqing Li, Ting Liu. Portfolio Optimization Based on the LSTM Forecasting Model. AEMPS (2023) Vol. 48: 97-106. DOI: 10.54254/2754-1169/48/20230431.

Abstract

The prediction of stock performance is a crucial component in formulating investment portfolios and optimizing portfolios within the realm of quantitative trading. However, the inherent unpredictability and volatility of the stock market pose significant obstacles for investors in accurately predicting stock performance. To build an optimal portfolio, the LSTM model is selected as a forecasting technique. Subsequently, data sourced from Yahoo Finance is acquired for training and testing purposes. Based on the prediction data, the paper applies the maximum Sharpe ratio model and the minimum variance model to reach portfolio optimization. Finally, the paper uses the S&P 500 index as a standard to evaluate the constructed portfolio. The results indicate that the LSTM prediction model has effective functionality and exhibits superior performance in the domain of data forecasting. In addition, the minimum-variance optimization and the maximum Sharpe ratio models explore optimized return and minimized risk in portfolio construction. The constructed portfolio outperforms the S&P 500 in terms of risks and returns. Therefore, the results in the paper are good for investors to reduce risk and increase return in portfolio construction.

Keywords

portfolio optimization, LSTM, investors

References

1. Soeryana, E., Fadhlina, N., Rusyaman, E., & Supian, S. (2017). Mean-variance portfolio optimization by using time series approaches based on logarithmic utility function. In IOP Conference Series: Materials Science and Engineering (Vol. 166, No. 1, p. 012003). IOP Publishing.

2. M. C. Amorim Neto, G. D. C. Calvalcanti and T. I. Ren, "Financial time series prediction using exogenous series and combined neural networks," 2009 International Joint Conference on Neural Networks, Atlanta, GA, USA, 2009, pp. 149-156, doi: 10.1109/IJCNN.2009.5178949.

3. Zhou, R., Yang, Z., Yu, M., & Ralescu, D. A. (2015). A portfolio optimization model based on information entropy and fuzzy time series. Fuzzy Optimization and Decision Making, 14, 381-397.

4. Ma, Y., Han, R., & Wang, W. (2021). Portfolio optimization with return prediction using deep learning and machine learning. Expert Systems with Applications, 165, 113973.

5. Ban, G. Y., El Karoui, N., & Lim, A. E. (2018). Machine learning and portfolio optimization. Management Science, 64(3), 1136-1154.

6. Chen, W., Zhang, H., Mehlawat, M. K., & Jia, L. (2021). Mean–variance portfolio optimization using machine learning-based stock price prediction. Applied Soft Computing, 100, 106943.

7. Ta, V. D., Liu, C. M., & Tadesse, D. A. (2020). Portfolio optimization-based stock prediction using long-short term memory network in quantitative trading. Applied Sciences, 10(2), 437.

8. Sami, H. M., Fardous, L., & Ruhit, D. S. (2021). Portfolio optimization in DSE using financial indicators, LSTM & PyportfolioOpt. Int. J. Mat. Math. Sci, 3(4), 74-84.

9. Ya Gao, Rong Wang, Enmin Zhou, "Stock Prediction Based on Optimized LSTM and GRU Models", Scientific Programming, vol. 2021, Article ID 4055281, 8 pages, 2021. https://doi.org/10.1155/2021/4055281

10. Shahid, F., Zameer, A., & Muneeb, M. (2020). Predictions for COVID-19 with deep learning models of LSTM, GRU and Bi-LSTM. Chaos, Solitons & Fractals, 140, 110212.

11. Chen, W., Zhang, H., Mehlawat, M. K., & Jia, L. (2021). Mean–variance portfolio optimization using machine learning-based stock price prediction. Applied Soft Computing, 100, 106943.

12. Shahid, F., Zameer, A., & Muneeb, M. (2020). Predictions for COVID-19 with deep learning models of LSTM, GRU and Bi-LSTM. Chaos, Solitons & Fractals, 140, 110212.

13. Zaremba, W., Sutskever, I., & Vinyals, O. (2014). Recurrent neural network regularization. arXiv preprint arXiv:1409.2329.

Data Availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Authors who publish this series agree to the following terms:

1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.

2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.

3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open Access Instruction).

Volume Title
Proceedings of the 2nd International Conference on Financial Technology and Business Analysis
ISBN (Print)
978-1-83558-143-8
ISBN (Online)
978-1-83558-144-5
Published Date
01 December 2023
Series
Advances in Economics, Management and Political Sciences
ISSN (Print)
2754-1169
ISSN (Online)
2754-1177
DOI
10.54254/2754-1169/48/20230431
Copyright
01 December 2023
Open Access
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited

Copyright © 2023 EWA Publishing. Unless Otherwise Stated