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

Оптимизация портфеля на основе нейросетей MPT-LSTM: кейс криптовалютных рынков
Habib Zouaoui, Meryem-Nadjat Naas
2025-06-04

Long Short-Term Memory (LSTM)MPT-LSTMModern Portfolio Theory (MPT)cryptocurrency portfolio optimizationmean squared error (MSE)
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.
1
Deep learning offers advantages for cryptocurrency portfolio optimization by capturing non-linear relationships, enabling dynamic rebalancing, handling high-dimensional and non-stationary data, and supporting automation.
2
LSTM-based deep learning models predicted optimal portfolio weights with MSE = 0.0218% for 5-day forecasts using 80% train / 20% test data.
3
Practical challenges for ML-based portfolio deployment include data quality issues, overfitting, and limited interpretability that must be addressed.
4
The Markowitz return-risk portfolio showed return = 31.15%, risk = 39.05%, and Sharpe ratio = 0.7978%, indicating lower risk-adjusted performance than the DL portfolio.
5
The deep learning–optimized portfolio achieved return = 1.7239%, risk = 1.1219%, and Sharpe ratio = 1.5365% in the study period.

Investment portfolio of 25 cryptocurrencies (2021–2024) used for portfolio optimization

Prediction and optimization of portfolio weights and performance (return, risk, Sharpe ratio) using MPT-LSTM/ANN deep learning models for short-term (5-day) rebalancing

Publication Details
Publication Date
2025-06-04
Journal
Publisher
ISSN
Cited by
1
Access Type
Author Information
Authors
Habib Zouaoui
Meryem-Nadjat Naas
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%