IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v17y2024i5p200-d1393147.html
   My bibliography  Save this article

Encoder–Decoder Based LSTM and GRU Architectures for Stocks and Cryptocurrency Prediction

Author

Listed:
  • Joy Dip Das

    (Department of Computer Science, University of Manitoba, Winnipeg, MB R3T 5V6, Canada
    Current address: E2-445 EITC, 75A Chancellors Circle, Winnipeg, MB R3T 5V6, Canada.)

  • Ruppa K. Thulasiram

    (Department of Computer Science, University of Manitoba, Winnipeg, MB R3T 5V6, Canada
    Current address: E2-445 EITC, 75A Chancellors Circle, Winnipeg, MB R3T 5V6, Canada.)

  • Christopher Henry

    (Department of Computer Science, University of Manitoba, Winnipeg, MB R3T 5V6, Canada
    Current address: E2-445 EITC, 75A Chancellors Circle, Winnipeg, MB R3T 5V6, Canada.)

  • Aerambamoorthy Thavaneswaran

    (Department of Statistics, University of Manitoba, Winnipeg, MB R3T 2N2, Canada)

Abstract

This work addresses the intricate task of predicting the prices of diverse financial assets, including stocks, indices, and cryptocurrencies, each exhibiting distinct characteristics and behaviors under varied market conditions. To tackle the challenge effectively, novel encoder–decoder architectures, AE-LSTM and AE-GRU, integrating the encoder–decoder principle with LSTM and GRU, are designed. The experimentation involves multiple activation functions and hyperparameter tuning. With extensive experimentation and enhancements applied to AE-LSTM, the proposed AE-GRU architecture still demonstrates significant superiority in forecasting the annual prices of volatile financial assets from the multiple sectors mentioned above. Thus, the novel AE-GRU architecture emerges as a superior choice for price prediction across diverse sectors and fluctuating volatile market scenarios by extracting important non-linear features of financial data and retaining the long-term context from past observations.

Suggested Citation

  • Joy Dip Das & Ruppa K. Thulasiram & Christopher Henry & Aerambamoorthy Thavaneswaran, 2024. "Encoder–Decoder Based LSTM and GRU Architectures for Stocks and Cryptocurrency Prediction," JRFM, MDPI, vol. 17(5), pages 1-23, May.
  • Handle: RePEc:gam:jjrfmx:v:17:y:2024:i:5:p:200-:d:1393147
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/17/5/200/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/17/5/200/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. David G. McMillan, 2003. "Non‐linear Predictability of UK Stock Market Returns," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 65(5), pages 557-573, December.
    2. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    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. Hongcheng Ding & Xuanze Zhao & Zixiao Jiang & Shamsul Nahar Abdullah & Deshinta Arrova Dewi, 2024. "EUR-USD Exchange Rate Forecasting Based on Information Fusion with Large Language Models and Deep Learning Methods," Papers 2408.13214, arXiv.org.
    2. Jian Guo & Saizhuo Wang & Lionel M. Ni & Heung-Yeung Shum, 2022. "Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligence," Papers 2301.04020, arXiv.org.
    3. Mei-Se Chien, 2013. "The Non-linear Ripple Effect of Housing Prices in Taiwan: A Smooth Transition Regressive Model," ERES eres2013_51, European Real Estate Society (ERES).
    4. Bildirici, Melike E. & Badur, Mesut M., 2019. "The effects of oil and gasoline prices on confidence and stock return of the energy companies for Turkey and the US," Energy, Elsevier, vol. 173(C), pages 1234-1241.
    5. McMillan, David G., 2007. "Bubbles in the dividend-price ratio? Evidence from an asymmetric exponential smooth-transition model," Journal of Banking & Finance, Elsevier, vol. 31(3), pages 787-804, March.
    6. Yuze Lu & Hailong Zhang & Qiwen Guo, 2023. "Stock and market index prediction using Informer network," Papers 2305.14382, arXiv.org.
    7. Liping Wang & Jiawei Li & Lifan Zhao & Zhizhuo Kou & Xiaohan Wang & Xinyi Zhu & Hao Wang & Yanyan Shen & Lei Chen, 2023. "Methods for Acquiring and Incorporating Knowledge into Stock Price Prediction: A Survey," Papers 2308.04947, arXiv.org.
    8. Lee, Chi-Chuan & Lee, Chien-Chiang & Li, Yong-Yi, 2021. "Oil price shocks, geopolitical risks, and green bond market dynamics," The North American Journal of Economics and Finance, Elsevier, vol. 55(C).
    9. Gozbasi, Onur & Kucukkaplan, Ilhan & Nazlioglu, Saban, 2014. "Re-examining the Turkish stock market efficiency: Evidence from nonlinear unit root tests," Economic Modelling, Elsevier, vol. 38(C), pages 381-384.
    10. Charles, Amélie & Darné, Olivier & Kim, Jae H., 2017. "International stock return predictability: Evidence from new statistical tests," International Review of Financial Analysis, Elsevier, vol. 54(C), pages 97-113.
    11. Guo, Yawei & Li, Jianping & Li, Yehua & You, Wanhai, 2021. "The roles of political risk and crude oil in stock market based on quantile cointegration approach: A comparative study in China and US," Energy Economics, Elsevier, vol. 97(C).
    12. Shima Nabiee & Nader Bagherzadeh, 2023. "Stock Trend Prediction: A Semantic Segmentation Approach," Papers 2303.09323, arXiv.org.
    13. David G. McMillan, 2009. "Non-linear interest rate dynamics and forecasting: evidence for US and Australian interest rates," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 14(2), pages 139-155.
    14. Wen, Jun & Yang, Di & Feng, Gen-Fu & Dong, Minyi & Chang, Chun-Ping, 2018. "Venture capital and innovation in China: The non-linear evidence," Structural Change and Economic Dynamics, Elsevier, vol. 46(C), pages 148-162.
    15. Rangan Gupta & Amine Lahiani & Chi-Chuan Lee & Chien-Chiang Lee, 2019. "Asymmetric dynamics of insurance premium: the impacts of output and economic policy uncertainty," Empirical Economics, Springer, vol. 57(6), pages 1959-1978, December.
    16. Matej Steinbacher, 2023. "Predicting Stock Price Movement as an Image Classification Problem," Papers 2303.01111, arXiv.org.
    17. 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.
    18. Guidolin, Massimo & Hyde, Stuart & McMillan, David & Ono, Sadayuki, 2009. "Non-linear predictability in stock and bond returns: When and where is it exploitable?," International Journal of Forecasting, Elsevier, vol. 25(2), pages 373-399.
    19. Tristan Lim, 2024. "Predictive crypto-asset automated market maker architecture for decentralized finance using deep reinforcement learning," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-29, December.
    20. Dahmene, Meriam & Boughrara, Adel & Slim, Skander, 2021. "Nonlinearity in stock returns: Do risk aversion, investor sentiment and, monetary policy shocks matter?," International Review of Economics & Finance, Elsevier, vol. 71(C), pages 676-699.

    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:jjrfmx:v:17:y:2024:i:5:p:200-:d:1393147. 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.