IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2412.19932.html
   My bibliography  Save this paper

Hidformer: Transformer-Style Neural Network in Stock Price Forecasting

Author

Listed:
  • Kamil {L}. Szyd{l}owski
  • Jaros{l}aw A. Chudziak

Abstract

This paper investigates the application of Transformer-based neural networks to stock price forecasting, with a special focus on the intersection of machine learning techniques and financial market analysis. The evolution of Transformer models, from their inception to their adaptation for time series analysis in financial contexts, is reviewed and discussed. Central to our study is the exploration of the Hidformer model, which is currently recognized for its promising performance in time series prediction. The primary aim of this paper is to determine whether Hidformer will also prove itself in the task of stock price prediction. This slightly modified model serves as the framework for our experiments, integrating the principles of technical analysis with advanced machine learning concepts to enhance stock price prediction accuracy. We conduct an evaluation of the Hidformer model's performance, using a set of criteria to determine its efficacy. Our findings offer additional insights into the practical application of Transformer architectures in financial time series forecasting, highlighting their potential to improve algorithmic trading strategies, including human decision making.

Suggested Citation

  • Kamil {L}. Szyd{l}owski & Jaros{l}aw A. Chudziak, 2024. "Hidformer: Transformer-Style Neural Network in Stock Price Forecasting," Papers 2412.19932, arXiv.org.
  • Handle: RePEc:arx:papers:2412.19932
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2412.19932
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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. Yuze Lu & Hailong Zhang & Qiwen Guo, 2023. "Stock and market index prediction using Informer network," Papers 2305.14382, arXiv.org.
    4. 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.
    5. Shima Nabiee & Nader Bagherzadeh, 2023. "Stock Trend Prediction: A Semantic Segmentation Approach," Papers 2303.09323, arXiv.org.
    6. Matej Steinbacher, 2023. "Predicting Stock Price Movement as an Image Classification Problem," Papers 2303.01111, arXiv.org.
    7. 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.
    8. 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.
    9. Opeyemi Sheu Alamu & Md Kamrul Siam, 2024. "Stock Price Prediction and Traditional Models: An Approach to Achieve Short-, Medium- and Long-Term Goals," Papers 2410.07220, arXiv.org.
    10. Adrian Millea, 2021. "Deep Reinforcement Learning for Trading—A Critical Survey," Data, MDPI, vol. 6(11), pages 1-25, November.
    11. Matteo Prata & Giuseppe Masi & Leonardo Berti & Viviana Arrigoni & Andrea Coletta & Irene Cannistraci & Svitlana Vyetrenko & Paola Velardi & Novella Bartolini, 2023. "LOB-Based Deep Learning Models for Stock Price Trend Prediction: A Benchmark Study," Papers 2308.01915, arXiv.org, revised Sep 2023.
    12. 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.
    13. Iqbal Murtza & Ayesha Saadia & Rabia Basri & Azhar Imran & Abdullah Almuhaimeed & Abdulkareem Alzahrani, 2022. "Forex Investment Optimization Using Instantaneous Stochastic Gradient Ascent—Formulation of an Adaptive Machine Learning Approach," Sustainability, MDPI, vol. 14(22), pages 1-13, November.
    14. Yugo Fujimoto & Kei Nakagawa & Kentaro Imajo & Kentaro Minami, 2022. "Uncertainty Aware Trader-Company Method: Interpretable Stock Price Prediction Capturing Uncertainty," Papers 2210.17030, arXiv.org, revised Nov 2022.
    15. Cheng Zhang & Nilam Nur Amir Sjarif & Roslina Ibrahim, 2023. "Deep learning models for price forecasting of financial time series: A review of recent advancements: 2020-2022," Papers 2305.04811, arXiv.org, revised Sep 2023.
    16. Branka Hadji Misheva & Joerg Osterrieder, 2023. "A Hypothesis on Good Practices for AI-based Systems for Financial Time Series Forecasting: Towards Domain-Driven XAI Methods," Papers 2311.07513, arXiv.org.
    17. Srivinay & B. C. Manujakshi & Mohan Govindsa Kabadi & Nagaraj Naik, 2022. "A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network," Data, MDPI, vol. 7(5), pages 1-11, April.
    18. Reza Yarbakhsh & Mahdieh Soleymani Baghshah & Hamidreza Karimaghaie, 2023. "Predicting risk/reward ratio in financial markets for asset management using machine learning," Papers 2311.09148, arXiv.org.
    19. Xiaodong Zhang & Suhui Liu & Xin Zheng, 2021. "Stock Price Movement Prediction Based on a Deep Factorization Machine and the Attention Mechanism," Mathematics, MDPI, vol. 9(8), pages 1-21, April.
    20. Jaideep Singh & Matloob Khushi, 2021. "Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating," Papers 2103.09106, arXiv.org.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:arx:papers:2412.19932. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.