IDEAS home Printed from https://ideas.repec.org/p/osf/osfxxx/dzp26.html
   My bibliography  Save this paper

Machine Learning Methods in Algorithmic Trading: An Experimental Evaluation of Supervised Learning Techniques for Stock Price

Author

Listed:
  • Maheronnaghsh, Mohammad Javad
  • Gheidi, Mohammad Mahdi
  • Fazli, MohammadAmin

Abstract

In the dynamic world of financial markets, accurate price predictions are essential for informed decision-making. This research proposal outlines a comprehensive study aimed at forecasting stock and currency prices using state-of-the-art Machine Learning (ML) techniques. By delving into the intricacies of models such as Transformers, LSTM, Simple RNN, NHits, and NBeats, we seek to contribute to the realm of financial forecasting, offering valuable insights for investors, financial analysts, and researchers. This article provides an in-depth overview of our methodology, data collection process, model implementations, evaluation metrics, and potential applications of our research findings. The research indicates that NBeats and NHits models exhibit superior performance in financial forecasting tasks, especially with limited data, while Transformers require more data to reach full potential. Our findings offer insights into the strengths of different ML techniques for financial prediction, highlighting specialized models like NBeats and NHits as top performers - thus informing model selection for real-world applications. To enhance readability, all acronyms used in the paper are defined below: ML: Machine Learning LSTM: Long Short-Term Memory RNN: Recurrent Neural Network NHits: Neural Hierarchical Interpolation for Time Series Forecasting NBeats: Neural Basis Expansion Analysis for Time Series ARIMA: Autoregressive Integrated Moving Average GARCH: Generalized Autoregressive Conditional Heteroskedasticity SVMs: Support Vector Machines CNNs: Convolutional Neural Networks MSE: Mean Squared Error MAE: Mean Absolute Error RMSE: Recurrent Mean Squared Error API: Application Programming Interface F1-score: F1 Score GRU: Gated Recurrent Unit yfinance: Yahoo Finance (a Python library for fetching financial data)

Suggested Citation

  • Maheronnaghsh, Mohammad Javad & Gheidi, Mohammad Mahdi & Fazli, MohammadAmin, 2023. "Machine Learning Methods in Algorithmic Trading: An Experimental Evaluation of Supervised Learning Techniques for Stock Price," OSF Preprints dzp26, Center for Open Science.
  • Handle: RePEc:osf:osfxxx:dzp26
    DOI: 10.31219/osf.io/dzp26
    as

    Download full text from publisher

    File URL: https://osf.io/download/660623a0bfea1d058f5a3abe/
    Download Restriction: no

    File URL: https://libkey.io/10.31219/osf.io/dzp26?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Nesreen Ahmed & Amir Atiya & Neamat El Gayar & Hisham El-Shishiny, 2010. "An Empirical Comparison of Machine Learning Models for Time Series Forecasting," Econometric Reviews, Taylor & Francis Journals, vol. 29(5-6), pages 594-621.
    2. O. B. Sezer & M. Ozbayoglu & E. Dogdu, 2017. "An Artificial Neural Network-based Stock Trading System Using Technical Analysis and Big Data Framework," Papers 1712.09592, arXiv.org.
    3. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    4. Zhang, Guoqiang & Eddy Patuwo, B. & Y. Hu, Michael, 1998. "Forecasting with artificial neural networks:: The state of the art," International Journal of Forecasting, Elsevier, vol. 14(1), pages 35-62, March.
    5. Zhen Zeng & Rachneet Kaur & Suchetha Siddagangappa & Saba Rahimi & Tucker Balch & Manuela Veloso, 2023. "Financial Time Series Forecasting using CNN and Transformer," Papers 2304.04912, 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. Fischer, Thomas & Krauss, Christopher & Treichel, Alex, 2018. "Machine learning for time series forecasting - a simulation study," FAU Discussion Papers in Economics 02/2018, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    2. Mehmet Sahiner & David G. McMillan & Dimos Kambouroudis, 2023. "Do artificial neural networks provide improved volatility forecasts: Evidence from Asian markets," Journal of Economics and Finance, Springer;Academy of Economics and Finance, vol. 47(3), pages 723-762, September.
    3. Ioannis Papageorgiou & Ioannis Kontoyiannis, 2023. "The Bayesian Context Trees State Space Model for time series modelling and forecasting," Papers 2308.00913, arXiv.org, revised Oct 2023.
    4. Szafranek, Karol, 2019. "Bagged neural networks for forecasting Polish (low) inflation," International Journal of Forecasting, Elsevier, vol. 35(3), pages 1042-1059.
    5. Huber, Jakob & Stuckenschmidt, Heiner, 2020. "Daily retail demand forecasting using machine learning with emphasis on calendric special days," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1420-1438.
    6. Yasemin Deniz Akarım, 2013. "A Comparison of Linear and Nonlinear Models in Forecasting Market Risk: The Evidence from Turkish Derivative Exchange," Journal of Economics and Behavioral Studies, AMH International, vol. 5(3), pages 164-172.
    7. Hu, Michael Y. & Tsoukalas, Christos, 1999. "Combining conditional volatility forecasts using neural networks: an application to the EMS exchange rates," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 9(4), pages 407-422, November.
    8. Semenoglou, Artemios-Anargyros & Spiliotis, Evangelos & Makridakis, Spyros & Assimakopoulos, Vassilios, 2021. "Investigating the accuracy of cross-learning time series forecasting methods," International Journal of Forecasting, Elsevier, vol. 37(3), pages 1072-1084.
    9. Franses,Philip Hans & Dijk,Dick van, 2000. "Non-Linear Time Series Models in Empirical Finance," Cambridge Books, Cambridge University Press, number 9780521779654, November.
    10. Fathi Abid & Bilel Kaffel, 2018. "The extent of virgin olive-oil prices’ distribution revealing the behavior of market speculators," Review of Quantitative Finance and Accounting, Springer, vol. 50(2), pages 561-590, February.
    11. T. -N. Nguyen & M. -N. Tran & R. Kohn, 2020. "Recurrent Conditional Heteroskedasticity," Papers 2010.13061, arXiv.org, revised Jan 2022.
    12. Samya Tajmouati & Bouazza El Wahbi & Mohamed Dakkon, 2023. "Classical and fast parameters tuning in nearest neighbors with stop condition," OPSEARCH, Springer;Operational Research Society of India, vol. 60(3), pages 1063-1081, September.
    13. Ushir HARRILALL & Yudhvir SEETHARAM, 2015. "Forecasting changes in the South African volatility index: A comparison of methods," EuroEconomica, Danubius University of Galati, issue 2(34), pages 51-70, November.
    14. Apostolos Ampountolas, 2021. "Modeling and Forecasting Daily Hotel Demand: A Comparison Based on SARIMAX, Neural Networks, and GARCH Models," Forecasting, MDPI, vol. 3(3), pages 1-16, August.
    15. Tapia, Sebastian & Kristjanpoller, Werner, 2022. "Framework based on multiplicative error and residual analysis to forecast bitcoin intraday-volatility," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 589(C).
    16. Wu, Yih-Jiuan, 1998. "Exchange rate forecasting: an application of radial basis function neural networks," ISU General Staff Papers 1998010108000013540, Iowa State University, Department of Economics.
    17. Bildirici, Melike & Ersin, Özgür, 2012. "Nonlinear volatility models in economics: smooth transition and neural network augmented GARCH, APGARCH, FIGARCH and FIAPGARCH models," MPRA Paper 40330, University Library of Munich, Germany, revised May 2012.
    18. Longo, Luigi & Riccaboni, Massimo & Rungi, Armando, 2022. "A neural network ensemble approach for GDP forecasting," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    19. Oscar Claveria & Enric Monte & Salvador Torra, 2017. "“Regional tourism demand forecasting with machine learning models: Gaussian process regression vs. neural network models in a multiple-input multiple-output setting"," IREA Working Papers 201701, University of Barcelona, Research Institute of Applied Economics, revised Jan 2017.
    20. Rafal Weron, 2006. "Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach," HSC Books, Hugo Steinhaus Center, Wroclaw University of Technology, number hsbook0601.

    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:osf:osfxxx:dzp26. 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: OSF (email available below). General contact details of provider: https://osf.io/preprints/ .

    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.