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. Gu, Shihao & Kelly, Bryan & Xiu, Dacheng, 2021. "Autoencoder asset pricing models," Journal of Econometrics, Elsevier, vol. 222(1), pages 429-450.
    3. 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)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Claudia Cappello & Antonella Congedi & Sandra De Iaco & Leonardo Mariella, 2025. "Traditional Prediction Techniques and Machine Learning Approaches for Financial Time Series Analysis," Mathematics, MDPI, vol. 13(3), pages 1-21, February.

    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. Bakalli, Gaetan & Guerrier, Stéphane & Scaillet, Olivier, 2023. "A penalized two-pass regression to predict stock returns with time-varying risk premia," Journal of Econometrics, Elsevier, vol. 237(2).
    2. Alain-Philippe Fortin & Patrick Gagliardini & O. Scaillet, 2022. "Eigenvalue tests for the number of latent factors in short panels," Swiss Finance Institute Research Paper Series 22-81, Swiss Finance Institute.
    3. 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.
    4. 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.
    5. 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).
    6. Adel Javanmard & Jingwei Ji & Renyuan Xu, 2024. "Multi-Task Dynamic Pricing in Credit Market with Contextual Information," Papers 2410.14839, arXiv.org, revised Oct 2024.
    7. Dapeng Li & Feiyang Pan & Jia He & Zhiwei Xu & Dandan Tu & Guoliang Fan, 2023. "Style Miner: Find Significant and Stable Explanatory Factors in Time Series with Constrained Reinforcement Learning," Papers 2303.11716, arXiv.org.
    8. Zhao, Albert Bo & Cheng, Tingting, 2022. "Stock return prediction: Stacking a variety of models," Journal of Empirical Finance, Elsevier, vol. 67(C), pages 288-317.
    9. 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.
    10. Yilie Huang & Yanwei Jia & Xun Yu Zhou, 2024. "Mean--Variance Portfolio Selection by Continuous-Time Reinforcement Learning: Algorithms, Regret Analysis, and Empirical Study," Papers 2412.16175, arXiv.org.
    11. Ilias Chronopoulos & Katerina Chrysikou & George Kapetanios & James Mitchell & Aristeidis Raftapostolos, 2023. "Deep Neural Network Estimation in Panel Data Models," Working Papers 23-15, Federal Reserve Bank of Cleveland.
    12. 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.
    13. Doron Avramov & Si Cheng & Lior Metzker, 2023. "Machine Learning vs. Economic Restrictions: Evidence from Stock Return Predictability," Management Science, INFORMS, vol. 69(5), pages 2587-2619, May.
    14. Moses Tunde Oyerinde & Folake Feyisayo Olowokudejo & Musa Adebayo Obalola, 2024. "Assets and Liabilities Management: A Determinant of Financial Performance of Pension Funds Administrators (PFAs)," Economics and Applied Informatics, "Dunarea de Jos" University of Galati, Faculty of Economics and Business Administration, issue 3, pages 46-54.
    15. Xiao, Xiang & Hua, Xia & Qin, Kexin, 2024. "A self-attention based cross-sectional return forecasting model with evidence from the Chinese market," Finance Research Letters, Elsevier, vol. 62(PA).
    16. Daniel Poh & Stephen Roberts & Stefan Zohren, 2022. "Transfer Ranking in Finance: Applications to Cross-Sectional Momentum with Data Scarcity," Papers 2208.09968, arXiv.org, revised Feb 2023.
    17. Qihui Chen, 2022. "A Unified Framework for Estimation of High-dimensional Conditional Factor Models," Papers 2209.00391, arXiv.org.
    18. 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.
    19. 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.
    20. Tian Ma & Cunfei Liao & Fuwei Jiang, 2023. "Timing the factor zoo via deep learning: Evidence from China," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 63(1), pages 485-505, March.

    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.