The Indonesian Journal of Computer Science
Vol. 13 No. 6 (2024): The Indonesian Journal of Computer Science (IJCS)

Leveraging LSTM Predictions for Enhanced Portfolio Allocation with Markowitz Mean-Variance Optimization

Sahid, Irfanda Husni (Unknown)
Budi, Indra (Unknown)



Article Info

Publish Date
29 Jan 2025

Abstract

This research investigates the application of Long Short-Term Memory (LSTM) networks for predicting expected returns and integrating these predictions into the Markowitz Mean-Variance Optimization (MVO) framework. The study utilized historical data from eight Indonesian stocks: BBCA, BBRI, TLKM, EXCL, UNVR, ICBP, ASII, and SMGR. The dataset covered the period from 2018 to 2024. The LSTM model was employed to predict cumulative returns over a 90-day horizon, and its performance was compared to the Exponentially Weighted Moving Average (EWMA) method. The findings indicate that LSTM achieved lower Root Mean Squared Error (RMSE) than EWMA for four stocks (BBCA, BBRI, UNVR, ICBP), while EWMA demonstrated better performance for the remaining four stocks. MVO results revealed that LSTM-based predictions achieved an average return of 4.285%, surpassing EWMA's 1.856% but falling short of the 12.298% obtained using actual returns. These results highlight the potential of LSTM models to enhance portfolio allocation strategies.

Copyrights © 2024






Journal Info

Abbrev

ijcs

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Engineering

Description

The Indonesian Journal of Computer Science (IJCS) is a bimonthly peer-reviewed journal published by AI Society and STMIK Indonesia. IJCS editions will be published at the end of February, April, June, August, October and December. The scope of IJCS includes general computer science, information ...