IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i11p2470-d1157419.html
   My bibliography  Save this article

Improving Stock Market Predictions: An Equity Forecasting Scanner Using Long Short-Term Memory Method with Dynamic Indicators for Malaysia Stock Market

Author

Listed:
  • Chin Soon Ku

    (Department of Computer Science, Universiti Tunku Abdul Rahman, Kampar 31900, Malaysia)

  • Jiale Xiong

    (Faculty of Computer Science and Information Technology, Universiti Malaya, Kuala Lumpur 50603, Malaysia)

  • Yen-Lin Chen

    (Department of Computer Science and Information Engineering, National Taipei University of Technology, Taipei 106344, Taiwan)

  • Shing Dhee Cheah

    (Department of Computer Science, Universiti Tunku Abdul Rahman, Kampar 31900, Malaysia)

  • Hoong Cheng Soong

    (Department of Information Systems, Universiti Tunku Abdul Rahman, Kampar 31900, Malaysia)

  • Lip Yee Por

    (Faculty of Computer Science and Information Technology, Universiti Malaya, Kuala Lumpur 50603, Malaysia)

Abstract

Stock market predictions are a challenging problem due to the dynamic and complex nature of financial data. This study proposes an approach that integrates the domain knowledge of investors with a long-short-term memory (LSTM) algorithm for predicting stock prices. The proposed approach involves collecting data from investors in the form of technical indicators and using them as input for the LSTM model. The model is then trained and tested using a dataset of 100 stocks. The accuracy of the model is evaluated using various metrics, including the average prediction accuracy, average cumulative return, Sharpe ratio, and maximum drawdown. The results are compared to the performance of other strategies, including the random selection of technical indicators. The simulation results demonstrate that the proposed model outperforms the other strategies in terms of accuracy and performance in a 100-stock investment simulation, highlighting the potential of integrating investor domain knowledge with machine learning algorithms for stock price prediction.

Suggested Citation

  • Chin Soon Ku & Jiale Xiong & Yen-Lin Chen & Shing Dhee Cheah & Hoong Cheng Soong & Lip Yee Por, 2023. "Improving Stock Market Predictions: An Equity Forecasting Scanner Using Long Short-Term Memory Method with Dynamic Indicators for Malaysia Stock Market," Mathematics, MDPI, vol. 11(11), pages 1-20, May.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:11:p:2470-:d:1157419
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/11/2470/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/11/2470/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Dhruhi Sheth & Manan Shah, 2023. "Predicting stock market using machine learning: best and accurate way to know future stock prices," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 14(1), pages 1-18, February.
    2. Mu-En Wu & Jia-Hao Syu & Chien-Ming Chen, 2022. "Kelly-Based Options Trading Strategies on Settlement Date via Supervised Learning Algorithms," Computational Economics, Springer;Society for Computational Economics, vol. 59(4), pages 1627-1644, April.
    3. Akshit Kurani & Pavan Doshi & Aarya Vakharia & Manan Shah, 2023. "A Comprehensive Comparative Study of Artificial Neural Network (ANN) and Support Vector Machines (SVM) on Stock Forecasting," Annals of Data Science, Springer, vol. 10(1), pages 183-208, February.
    4. Tsu-Yang Wu & Haonan Li & Shu-Chuan Chu, 2023. "CPPE: An Improved Phasmatodea Population Evolution Algorithm with Chaotic Maps," Mathematics, MDPI, vol. 11(9), pages 1-21, April.
    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. Saima Akhtar & Sulman Shahzad & Asad Zaheer & Hafiz Sami Ullah & Heybet Kilic & Radomir Gono & Michał Jasiński & Zbigniew Leonowicz, 2023. "Short-Term Load Forecasting Models: A Review of Challenges, Progress, and the Road Ahead," Energies, MDPI, vol. 16(10), pages 1-29, May.
    2. Syed Hasan Jafar & Shakeb Akhtar & Hani El-Chaarani & Parvez Alam Khan & Ruaa Binsaddig, 2023. "Forecasting of NIFTY 50 Index Price by Using Backward Elimination with an LSTM Model," JRFM, MDPI, vol. 16(10), pages 1-23, September.
    3. Jin, Ting & Liang, Feiyan & Dong, Xiaoqi & Cao, Xiaojuan, 2023. "Research on land resource management integrated with support vector machine —Based on the perspective of green innovation," Resources Policy, Elsevier, vol. 86(PB).
    4. Riaz Ud Din & Salman Ahmed & Saddam Hussain Khan, 2024. "A Novel Decision Ensemble Framework: Customized Attention-BiLSTM and XGBoost for Speculative Stock Price Forecasting," Papers 2401.11621, arXiv.org.
    5. Thiago Conte & Roberto Oliveira, 2024. "Comparative Analysis between Intelligent Machine Committees and Hybrid Deep Learning with Genetic Algorithms in Energy Sector Forecasting: A Case Study on Electricity Price and Wind Speed in the Brazi," Energies, MDPI, vol. 17(4), pages 1-31, February.
    6. Mokhtar Jlidi & Oscar Barambones & Faiçal Hamidi & Mohamed Aoun, 2024. "ANN for Temperature and Irradiation Prediction and Maximum Power Point Tracking Using MRP-SMC," Energies, MDPI, vol. 17(12), pages 1-21, June.
    7. Mu-Yen Chen & Arun Kumar Sangaiah & Ting-Hsuan Chen & Edwin David Lughofer & Erol Egrioglu, 2022. "Deep Learning for Financial Engineering," Computational Economics, Springer;Society for Computational Economics, vol. 59(4), pages 1277-1281, April.
    8. Agnieszka Wawrzyniak & Andrzej Przybylak & Piotr Boniecki & Agnieszka Sujak & Maciej Zaborowicz, 2023. "Neural Modelling in the Study of the Relationship between Herd Structure, Amount of Manure and Slurry Produced, and Location of Herds in Poland," Agriculture, MDPI, vol. 13(7), pages 1-13, July.
    9. Jian Dong, 2023. "Preface to the Special Issue on “Recent Advances in Swarm Intelligence Algorithms and Their Applications”—Special Issue Book," Mathematics, MDPI, vol. 11(12), pages 1-4, June.
    10. Mirza, Nawazish & Rizvi, Syed Kumail Abbas & Naqvi, Bushra & Umar, Muhammad, 2024. "Inflation prediction in emerging economies: Machine learning and FX reserves integration for enhanced forecasting," International Review of Financial Analysis, Elsevier, vol. 94(C).
    11. You-Shyang Chen & Jieh-Ren Chang & Ying-Hsun Hung & Jia-Hsien Lai, 2023. "Oversampling Application of Identifying 3D Selective Laser Sintering Yield by Hybrid Mathematical Classification Models," Mathematics, MDPI, vol. 11(14), pages 1-30, July.
    12. Zihan Dong & Xinyu Fan & Zhiyuan Peng, 2024. "FNSPID: A Comprehensive Financial News Dataset in Time Series," Papers 2402.06698, arXiv.org.
    13. Chung-Han Hsieh, 2022. "On Solving Robust Log-Optimal Portfolio: A Supporting Hyperplane Approximation Approach," Papers 2202.03858, arXiv.org.

    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:gam:jmathe:v:11:y:2023:i:11:p:2470-:d:1157419. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.