IDEAS home Printed from https://ideas.repec.org/a/aan/journl/v7y2025i1p82-98.html
   My bibliography  Save this article

Portfolio Optimization Based on MPT-LSTM Neural Networks: A case study of Cryptocurrency Markets

Author

Listed:
  • Habib ZOUAOUI

    (Department of Finance and Accounting, University of Relizane, Relizane, Algeria)

  • Meryem-Nadjat NAAS

    (Department of Management, University of Relizane, Relizane, Algeria)

Abstract

Purpose: This study aims to examines advanced portfolio management techniques using Long Short-Term Memory (LSTM) networks, the study was applied to investing in cryptocurrencies whose markets are characterized by high-frequency trading, and using behavioral finance models based on the concept of return-risk and deep learning based on the work of artificial neural networks (ANN) and long-term memory (LSTM) algorithms Design/Methodology/Approach: This study adopts quantitative approach. Moreover, A random portfolio consisting of 25 cryptocurrencies was selected based on the database of the website: https://finance.yahoo.com/crypto/ during the period 2021-2024 AD and programming the Python language. And an attempt to evaluate the performance of the models used in accurately predicting the optimal relative weights of the investment portfolio, which proved the relative effectiveness of deep learning models by estimating the values of the mean square error (MSE) at a level of 0.0218% to predict the optimal portfolio weights for 5 days based on training 80% and testing 20% of the study data. Findings: The second hypothesis of this study was accepted, which states the effectiveness of deep learning algorithms to predict the weights of optimal portfolios with a return estimated at 1.7239% and a risk of 1.1219% and a Sharpe index value estimated at 1.5365%, while the Markowitz return-risk model portfolio came with a return rate estimated at 31.15% and a risk of 39.05%. With no diversification of investment on all portfolio assets and a Sharpe index value of 0.7978%. Practical Implications: This study provides important insights that machine learning offers significant advantages in portfolio optimization, from improved forecasting of asset returns to dynamic rebalancing, better risk management, and automation. The ability to handle high-dimensional, non-linear, and non-stationary data makes ML an ideal tool for optimizing portfolios in complex and fast-moving markets; especially in cryptocurrency markets. However, challenges like data quality, overfitting, and interpretability must be addressed to ensure effective deployment of ML in real-world portfolio. Originality/Value: This study provides an original and timely contribution to understanding the use of deep learning for portfolio optimization represents a significant advancement over traditional financial models by offering several original and valuable benefits. These include the ability to capture complex non-linear relationships, dynamic rebalancing in response to real-time data, processing of unstructured data (like sentiment analysis), advanced risk management, and the integration of high-dimensional data. The combination of these capabilities enables more accurate, adaptive, and robust portfolio optimization, ultimately enhancing portfolio performance and reducing risk. Paper Type: Research Paper.

Suggested Citation

  • Habib ZOUAOUI & Meryem-Nadjat NAAS, 2025. "Portfolio Optimization Based on MPT-LSTM Neural Networks: A case study of Cryptocurrency Markets," Finance, Accounting and Business Analysis, University of National and World Economy, Institute for Economics and Politics, vol. 7(1), pages 82-98, June.
  • Handle: RePEc:aan:journl:v:7:y:2025:i:1:p:82-98
    as

    Download full text from publisher

    File URL: https://www.unwe.bg/doi/FABA/2025.1/FABA.2025.1.07.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Abdellilah Nafia & Abdellah Yousfi & Abdellah Echaoui, 2023. "Equity-Market-Neutral Strategy Portfolio Construction Using LSTM-Based Stock Prediction and Selection: An Application to S&P500 Consumer Staples Stocks," IJFS, MDPI, vol. 11(2), pages 1-48, March.
    2. Zeroual, Abdelhafid & Harrou, Fouzi & Dairi, Abdelkader & Sun, Ying, 2020. "Deep learning methods for forecasting COVID-19 time-Series data: A Comparative study," Chaos, Solitons & Fractals, Elsevier, vol. 140(C).
    3. Cui, Tianxiang & Ding, Shusheng & Jin, Huan & Zhang, Yongmin, 2023. "Portfolio constructions in cryptocurrency market: A CVaR-based deep reinforcement learning approach," Economic Modelling, Elsevier, vol. 119(C).
    4. Ricard Durall, 2022. "Asset Allocation: From Markowitz to Deep Reinforcement Learning," Papers 2208.07158, arXiv.org.
    5. Jiang, Yifu & Olmo, Jose & Atwi, Majed, 2024. "Deep reinforcement learning for portfolio selection," Global Finance Journal, Elsevier, vol. 62(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Christian Acal & Manuel Escabias & Ana M. Aguilera & Mariano J. Valderrama, 2021. "COVID-19 Data Imputation by Multiple Function-on-Function Principal Component Regression," Mathematics, MDPI, vol. 9(11), pages 1-23, May.
    2. Masum, Mohammad & Masud, M.A. & Adnan, Muhaiminul Islam & Shahriar, Hossain & Kim, Sangil, 2022. "Comparative study of a mathematical epidemic model, statistical modeling, and deep learning for COVID-19 forecasting and management," Socio-Economic Planning Sciences, Elsevier, vol. 80(C).
    3. Mei-jun, Ling & Guang-xi, Cao, 2024. "Dynamics of asymmetric multifractal cross-correlations between cryptocurrencies and global stock markets: Role of gold and portfolio implications," Chaos, Solitons & Fractals, Elsevier, vol. 182(C).
    4. Tan, Xilong & Tao, Yubo, 2023. "Trend-based forecast of cryptocurrency returns," Economic Modelling, Elsevier, vol. 124(C).
    5. Shruti Sharma & Yogesh Kumar Gupta & Abhinava K. Mishra, 2023. "Analysis and Prediction of COVID-19 Multivariate Data Using Deep Ensemble Learning Methods," IJERPH, MDPI, vol. 20(11), pages 1-23, May.
    6. Erick Giovani Sperandio Nascimento & Júnia Ortiz & Adhvan Novais Furtado & Diego Frias, 2023. "Using discrete wavelet transform for optimizing COVID-19 new cases and deaths prediction worldwide with deep neural networks," PLOS ONE, Public Library of Science, vol. 18(4), pages 1-34, April.
    7. Liu, Yingnan & Bu, Ningbo & Li, Zhiqiang & Zhang, Yongmin & Zhao, Zhenyu, 2025. "AT-FinGPT: Financial risk prediction via an audio-text large language model," Finance Research Letters, Elsevier, vol. 77(C).
    8. Antoni Wiliński & Łukasz Kupracz & Aneta Senejko & Grzegorz Chrząstek, 2022. "COVID-19: average time from infection to death in Poland, USA, India and Germany," Quality & Quantity: International Journal of Methodology, Springer, vol. 56(6), pages 4729-4746, December.
    9. Xiaojin Xie & Kangyang Luo & Zhixiang Yin & Guoqiang Wang, 2021. "Nonlinear Combinational Dynamic Transmission Rate Model and Its Application in Global COVID-19 Epidemic Prediction and Analysis," Mathematics, MDPI, vol. 9(18), pages 1-17, September.
    10. Ben Abdelaziz, Fouad & Chibane, Messaoud, 2023. "Portfolio optimization in the presence of tail correlation," Economic Modelling, Elsevier, vol. 122(C).
    11. Behzad Vahedi & Morteza Karimzadeh & Hamidreza Zoraghein, 2021. "Spatiotemporal prediction of COVID-19 cases using inter- and intra-county proxies of human interactions," Nature Communications, Nature, vol. 12(1), pages 1-15, December.
    12. Jin, Jiahuan & Cui, Tianxiang & Bai, Ruibin & Qu, Rong, 2024. "Container port truck dispatching optimization using Real2Sim based deep reinforcement learning," European Journal of Operational Research, Elsevier, vol. 315(1), pages 161-175.
    13. Jiří Mazurek, 2021. "The evaluation of COVID-19 prediction precision with a Lyapunov-like exponent," PLOS ONE, Public Library of Science, vol. 16(5), pages 1-9, May.
    14. Huang, Chiou-Jye & Shen, Yamin & Kuo, Ping-Huan & Chen, Yung-Hsiang, 2022. "Novel spatiotemporal feature extraction parallel deep neural network for forecasting confirmed cases of coronavirus disease 2019," Socio-Economic Planning Sciences, Elsevier, vol. 80(C).
    15. Tu, Xueyong & Li, Bin, 2024. "Robust portfolio selection with smart return prediction," Economic Modelling, Elsevier, vol. 135(C).
    16. Cui, Tianxiang & Du, Nanjiang & Yang, Xiaoying & Ding, Shusheng, 2024. "Multi-period portfolio optimization using a deep reinforcement learning hyper-heuristic approach," Technological Forecasting and Social Change, Elsevier, vol. 198(C).
    17. Liu, Shuting & Zhang, Sicheng & Chen, Yun, 2025. "Exploiting mixed-frequency characteristics in parametric Mean-Expected Shortfall portfolio selection," Economic Modelling, Elsevier, vol. 148(C).
    18. Jiwon Kim & Moon-Ju Kang & KangHun Lee & HyungJun Moon & Bo-Kwan Jeon, 2023. "Deep Reinforcement Learning for Asset Allocation: Reward Clipping," Papers 2301.05300, arXiv.org.
    19. Yu Fu & Shaofu Lin & Zhenkai Xu, 2022. "Research on Quantitative Analysis of Multiple Factors Affecting COVID-19 Spread," IJERPH, MDPI, vol. 19(6), pages 1-13, March.
    20. Faizeh Hatami & Shi Chen & Rajib Paul & Jean-Claude Thill, 2022. "Simulating and Forecasting the COVID-19 Spread in a U.S. Metropolitan Region with a Spatial SEIR Model," IJERPH, MDPI, vol. 19(23), pages 1-16, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C38 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Classification Methdos; Cluster Analysis; Principal Components; Factor Analysis
    • C4 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C5 - Mathematical and Quantitative Methods - - Econometric Modeling
    • C58 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Financial Econometrics
    • G1 - Financial Economics - - General Financial Markets
    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:aan:journl:v:7:y:2025:i:1:p:82-98. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Yanko Hristozov (email available below). General contact details of provider: https://edirc.repec.org/data/ienwebg.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.