Optimalisasi Portofolio Saham Syariah Berbasis Prediksi Menggunakan Long Short-Term Memory (LSTM)

Erna Nurmawati, Rayhan Abyasa, Raditya Amanta Putra

Abstract


Saham merupakan salah satu jenis investasi aset finansial yang berpotensi untuk memberikan tingkat imbal balik yang tinggi sehingga menjadi salah satu instrument investasi yang popular. Salah satu jenis saham yang popular di Indonesia adalah saham syariah yang didukung kuat dengan ajaran agama islam (shariah compliant). Saham syariah mempunyai kinerja yang baik jika dibandingkan dengan saham konvensional ketika terjadi krisis keuangan ditandai dengan risiko indeks yang lebih kecil. Investor saham selalu menginginkan hasil timbal balik yang maksimal dengan risiko seminimal mungkin. Keinginan tersebut dapat tercapai dengan menyeleksi saham dengan return terbesar lalu melakukan optimalisasi pada potofolio saham. Salah satu metode seleksi saham yang dapat dilakukan adalah dengan memprediksi harga saham dengan menggunakan model LSTM pada indeks JII. Saham dengan return terbesar sesuai dengan hasil prediksi akan dimasukkan ke dalam satu portofolio yang akan dioptimalisasi dengan metode Mean-Variance (MV) dan Equal Weight (EW) yang akan diambil metode terbaik. Sebagai pembanding, portofolio dengan saham yang dipilih secara acak akan dibentuk dan dibandingkan hasilnya. Hasil penelitian menunjukkan portofolio yang dibentuk dengan menggunakan prediksi model LSTM dan metode optimalisasi MV memiliki keseimbangan dalam nilai mean return bulanan, standar deviasi bulanan, sharpe ratio bulanan, serta simulasi investasi sepanjang tahun 2023.


Keywords


LSTM, LSTM, Optimalisasi, Prediksi, Saham, Syariah

Full Text:

References


E. Tandelilin, Portofolio dan Investasi: Teori dan aplikasi. Kanisius, 2010.

F. K. Mubarok, A. R. Darmawan, and Z. Luailiyah, “Optimalisasi Portofolio Nilai Saham: Studi Komparasi Kinerja Saham Syariah dan Nonsyariah,” Econ. J. Ekon. Islam, vol. 8, no. 2, pp. 309–336, 2017, doi: 10.21580/economica.2017.8.2.2368.

U. Derigs and S. Marzban, “New strategies and a new paradigm for Shariah-compliant portfolio optimization,” J. Bank. Financ., vol. 33, no. 6, pp. 1166–1176, 2009.

M. Touiti and J. E. Henchiri, “Risk and performance of Islamic indexes during subprime crisis,” Available SSRN 2917060, 2016.

K. Mehmood, W. Akhter, and M. Shahbaz, “Performance of Islamic vs. Conventional Capital Markets during Global Financial Crisis: An Empirical Study,” Artic. Cent. Islam. Financ. Dep. Manag. Sci. COMSATS Inst. Inf. Technol. Lahore, Pakistan, 2016.

R. Sukmana and M. Kholid, “Impact of global financial crisis on Islamic and conventional stocks in emerging market: an application of ARCH and GARCH method,” Iefpedia.Com, pp. 1–11, 2009, [Online]. Available: http://www.iefpedia.com/english/wp-content/uploads/2010/12/Impact-of-global-financial-crisis-on-Islamic-and-conventional-stocks-Muhamad-Kholid.pdf

S. Bakhri, F. Nurbaiti, and A. A. Yusuf, “The Most Influential Factors On Stock Prices In The JII Index,” J. Manaj., vol. 27, no. 3, pp. 612–631, 2023.

M. Ramadhan, T. Suharti, and I. Nurhayati, “Diversifikasi Saham Dalam Pembentukan Portofolio Untuk Meminimumkan Risiko,” Manag. J. Ilmu Manaj., vol. 3, no. 4, p. 450, 2020, doi: 10.32832/manager.v3i4.3914.

E. J. Elton, M. J. Gruber, S. J. Brown, and W. N. Goetzmann, Modern portfolio theory and investment analysis. John Wiley & Sons, 2009.

M. Ulfa, A. F. Amrullah, L. Ayudyanti, and H. Patria, “Portfolio Optimization Modeling in the Consumer Goods Industry,” J. Ilm. Akunt. Dan Keuang., vol. 4, no. 6, pp. 2271–2278, 2022, [Online]. Available: https://www.journal.ikopin.ac.id/index.php/fairvalue/issue/view/68

W. Chen, H. Zhang, M. K. Mehlawat, and L. Jia, “Mean–variance portfolio optimization using machine learning-based stock price prediction,” Appl. Soft Comput., vol. 100, p. 106943, 2021, doi: 10.1016/j.asoc.2020.106943.

S. Deng and X. Min, “Applied Optimization in Global Efficient Portfolio Construction Using Earning Forecasts,” J. Invest., vol. 22, no. 4, pp. 104–114, 2013, doi: 10.3905/joi.2013.22.4.104.

A. Chaweewanchon and R. Chaysiri, “Markowitz Mean-Variance Portfolio Optimization with Predictive Stock Selection Using Machine Learning,” Int. J. Financ. Stud., vol. 10, no. 3, 2022, doi: 10.3390/ijfs10030064.

G. Bathla, “Stock price prediction using LSTM and SVR,” PDGC 2020 - 2020 6th Int. Conf. Parallel, Distrib. Grid Comput., pp. 211–214, 2020, doi: 10.1109/PDGC50313.2020.9315800.

A. Moghar and M. Hamiche, “Stock market prediction using LSTM recurrent neural network,” Procedia Comput. Sci., vol. 170, pp. 1168–1173, 2020.

H. N. Bhandari, B. Rimal, N. R. Pokhrel, R. Rimal, K. R. Dahal, and R. K. C. Khatri, “Predicting stock market index using LSTM,” Mach. Learn. with Appl., vol. 9, p. 100320, 2022.

A. FAUZI, “Forecasting Saham Syariah Dengan Menggunakan Lstm,” Al-Masraf J. Lemb. Keuang. dan Perbank., vol. 4, no. 1, p. 65, 2019, doi: 10.15548/al-masraf.v4i1.235.

D. Shah, W. Campbell, and F. H. Zulkernine, “A comparative study of LSTM and DNN for stock market forecasting,” in 2018 IEEE international conference on big data (big data), 2018, pp. 4148–4155.

W. Wang, W. Li, N. Zhang, and K. Liu, “Portfolio formation with preselection using deep learning from long-term financial data,” Expert Syst. Appl., vol. 143, p. 113042, 2020, doi: 10.1016/j.eswa.2019.113042.

E. I. Ardyanta and S. Hasrini, “A prediction of stock price movements using support vector machines in Indonesia,” J. Asian Financ. Econ. Bus., vol. 8, no. 8, pp. 399–407, 2021.

S. Deng, T. Mitsubuchi, K. Shioda, T. Shimada, and A. Sakurai, “Combining technical analysis with sentiment analysis for stock price prediction,” Proc. - IEEE 9th Int. Conf. Dependable, Auton. Secur. Comput. DASC 2011, pp. 800–807, 2011, doi: 10.1109/DASC.2011.138.

M. R. Vargas, C. E. M. Dos Anjos, G. L. G. Bichara, and A. G. Evsukoff, “Deep Leaming for Stock Market Prediction Using Technical Indicators and Financial News Articles,” Proc. Int. Jt. Conf. Neural Networks, vol. 2018-July, pp. 1–8, 2018, doi: 10.1109/IJCNN.2018.8489208.

F. A. Gers, J. Schmidhuber, and F. Cummins, “Learning to forget: Continual prediction with LSTM,” Neural Comput., vol. 12, no. 10, pp. 2451–2471, 2000.

Q. Qu, Z. Li, J. Tang, S. Wu, and R. Wang, “A trend forecast of import and export trade total volume based on LSTM,” in IOP Conference Series: Materials Science and Engineering, 2019, vol. 646, no. 1, p. 012002.

Colah, “Understanding LSTM Networks,” 2015. https://colah.github.io/posts/2015-08-Understanding-LSTMs/

B. C. Mateus, M. Mendes, J. T. Farinha, R. Assis, and A. M. Cardoso, “Comparing LSTM and GRU Models to Predict the Condition of a Pulp Paper Press,” Energies, vol. 14, no. 21. 2021. doi: 10.3390/en14216958.

Z. Wang et al., “Climate and environmental data contribute to the prediction of grain commodity prices using deep learning,” J. Sustain. Agric. Environ., vol. 2, no. 3, pp. 251–265, 2023, doi: 10.1002/sae2.12041.

N. Reimers and I. Gurevych, “Optimal Hyperparameters for Deep LSTM-Networks for Sequence Labeling Tasks,” 2017, [Online]. Available: http://arxiv.org/abs/1707.06799

M. Yang and J. Wang, “Adaptability of Financial Time Series Prediction Based on BiLSTM,” Procedia Comput. Sci., vol. 199, pp. 18–25, 2021, doi: 10.1016/j.procs.2022.01.003.

G. H. T. Ribeiro, P. S. G. M. De Neto, G. D. C. Cavalcanti, and I. R. Tsang, “Lag selection for time series forecasting using Particle Swarm Optimization,” Proc. Int. Jt. Conf. Neural Networks, pp. 2437–2444, 2011, doi: 10.1109/IJCNN.2011.6033535.

D. P. Kingma and J. L. Ba, “Adam: A method for stochastic optimization,” 3rd Int. Conf. Learn. Represent. ICLR 2015 - Conf. Track Proc., pp. 1–15, 2015.

T. Fischer and C. Krauss, “Deep learning with long short-term memory networks for financial market predictions,” Eur. J. Oper. Res., vol. 270, no. 2, pp. 654–669, 2018, doi: 10.1016/j.ejor.2017.11.054.

D. Chicco, M. J. Warrens, and G. Jurman, “The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation,” PeerJ Comput. Sci., vol. 7, pp. 1–24, 2021, doi: 10.7717/PEERJ-CS.623.

M. Sikalo, A. Arnaut-Berilo, and A. Zaimovic, “Efficient Asset Allocation: Application of Game Theory-Based Model for Superior Performance,” Int. J. Financ. Stud., vol. 10, no. 1, 2022, doi: 10.3390/ijfs10010020.

W. Lefebvre, G. Loeper, and H. Pham, “Mean-variance portfolio selection with tracking error penalization,” Mathematics, vol. 8, no. 11, pp. 1–23, 2020, doi: 10.3390/math8111915.

C. D. Lewis, “Industrial and business forecasting methods: A practical guide to exponential smoothing and curve fitting,” (No Title), 1982.

E. Ranguelova, “Disposition Effect and Firm Size: New Evidence on Individual Investor Trading Activity,” SSRN Electron. J., 2005, doi: 10.2139/ssrn.293618.




DOI: https://doi.org/10.30591/jpit.v10i2.8421

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

JPIT INDEXED BY

  
  

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.