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. 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.
    2. 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.
    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. Oscar Claveria & Enric Monte & Salvador Torra, 2016. "Modelling cross-dependencies between Spain’s regional tourism markets with an extension of the Gaussian process regression model," SERIEs: Journal of the Spanish Economic Association, Springer;Spanish Economic Association, vol. 7(3), pages 341-357, August.
    8. Hassani, Hossein & Webster, Allan & Silva, Emmanuel Sirimal & Heravi, Saeed, 2015. "Forecasting U.S. Tourist arrivals using optimal Singular Spectrum Analysis," Tourism Management, Elsevier, vol. 46(C), pages 322-335.
    9. 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).
    10. 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.
    11. Brummelhuis, Raymond & Luo, Zhongmin, 2019. "Bank Net Interest Margin Forecasting and Capital Adequacy Stress Testing by Machine Learning Techniques," MPRA Paper 94779, University Library of Munich, Germany.
    12. Liu, Weiping & Wang, Chengzhu & Li, Yonggang & Liu, Yishun & Huang, Keke, 2021. "Ensemble forecasting for product futures prices using variational mode decomposition and artificial neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 146(C).
    13. 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”," AQR Working Papers 201701, University of Barcelona, Regional Quantitative Analysis Group, revised Jan 2017.
    14. Christos Katris & Manolis G. Kavussanos, 2021. "Time series forecasting methods for the Baltic dry index," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1540-1565, December.
    15. Weron, Rafał, 2014. "Electricity price forecasting: A review of the state-of-the-art with a look into the future," International Journal of Forecasting, Elsevier, vol. 30(4), pages 1030-1081.
    16. 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.
    17. Cem Kadilar & Muammer Simsek & Cagdas Hakan Aladag, 2009. "Forecasting The Exchange Rate Series With Ann: The Case Of Turkey," Istanbul University Econometrics and Statistics e-Journal, Department of Econometrics, Faculty of Economics, Istanbul University, vol. 9(1), pages 17-29, May.
    18. Franses,Philip Hans & Dijk,Dick van, 2000. "Non-Linear Time Series Models in Empirical Finance," Cambridge Books, Cambridge University Press, number 9780521779654.
    19. 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.
    20. T. -N. Nguyen & M. -N. Tran & R. Kohn, 2020. "Recurrent Conditional Heteroskedasticity," Papers 2010.13061, arXiv.org, revised Jan 2022.

    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.