IDEAS home Printed from https://ideas.repec.org/a/eee/riibaf/v66y2023ics0275531923001782.html

Application of machine learning in algorithmic investment strategies on global stock markets

Author

Listed:
  • Grudniewicz, Jan
  • Ślepaczuk, Robert

Abstract

The research undertakes the subject of machine learning based algorithmic investment strategies. Several technical analysis indicators were employed as inputs to machine learning models such as Neural Networks, K Nearest Neighbor, Regression Trees, Random Forests, Naïve Bayes classifiers, Bayesian Generalized Linear Models, and Support Vector Machines. Models were used to generate trading signals on WIG20, DAX, S&P500, and selected CEE indices in the period between 2002-01–01 and 2023–03–31. Strategies were compared with each other and with the benchmark buy-and-hold strategy in terms of achieved levels of risk and return. Sensitivity analysis was used to assess the quality of the estimation on independent subsets. The findings of the study showed that algorithmic strategies outperformed passive strategies in terms of risk-adjusted returns and that for the analyzed indices, Linear Support Vector Machine and Bayesian Generalized Linear Model were the best-performing models. The Linear Support Vector Machine was chosen as the model that, on average, produced the best results using a more thorough rank approach based on the outcomes for all examined models and indices.

Suggested Citation

  • Grudniewicz, Jan & Ślepaczuk, Robert, 2023. "Application of machine learning in algorithmic investment strategies on global stock markets," Research in International Business and Finance, Elsevier, vol. 66(C).
  • Handle: RePEc:eee:riibaf:v:66:y:2023:i:c:s0275531923001782
    DOI: 10.1016/j.ribaf.2023.102052
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0275531923001782
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ribaf.2023.102052?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
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Oguzhan Cepni & Rangan Gupta & Yigit Onay, 2022. "The role of investor sentiment in forecasting housing returns in China: A machine learning approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(8), pages 1725-1740, December.
    2. ANGHEL, Dan-Gabriel, 2021. "A reality check on trading rule performance in the cryptocurrency market: Machine learning vs. technical analysis," Finance Research Letters, Elsevier, vol. 39(C).
    3. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    4. Goutte, Stéphane & Le, Hoang-Viet & Liu, Fei & von Mettenheim, Hans-Jörg, 2023. "Deep learning and technical analysis in cryptocurrency market," Finance Research Letters, Elsevier, vol. 54(C).
    5. Kaczmarek, Tomasz & Będowska-Sójka, Barbara & Grobelny, Przemysław & Perez, Katarzyna, 2022. "False Safe Haven Assets: Evidence From the Target Volatility Strategy Based on Recurrent Neural Network," Research in International Business and Finance, Elsevier, vol. 60(C).
    6. Çepni, Oğuzhan & Gupta, Rangan & Pienaar, Daniel & Pierdzioch, Christian, 2022. "Forecasting the realized variance of oil-price returns using machine learning: Is there a role for U.S. state-level uncertainty?," Energy Economics, Elsevier, vol. 114(C).
    7. Ren, Yi-Shuai & Ma, Chao-Qun & Kong, Xiao-Lin & Baltas, Konstantinos & Zureigat, Qasim, 2022. "Past, present, and future of the application of machine learning in cryptocurrency research," Research in International Business and Finance, Elsevier, vol. 63(C).
    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. Yao, Haixiang & Wan, Chunzhuo, 2025. "Multi-factor portfolio optimization: A combined random Forest–AdaBoost model with cost-sensitive learning11This paper was supported by the National Natural Science Foundation of China (Nos. 71,871,071, 72071051); the Natural Science Foundation of Gua," Pacific-Basin Finance Journal, Elsevier, vol. 94(C).
    2. Cakici, Nusret & Zaremba, Adam, 2025. "Accounting vs technical information: what matters more for stock return predictability?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 104(C).
    3. Rizwan Ullah & Muhammad Naveed Jan & Muhammad Tahir, 2025. "Unveiling the optimal factor model in Pakistan: a machine learning approach using support vector regression and extreme gradient boosting algorithms," Future Business Journal, Springer, vol. 11(1), pages 1-20, December.
    4. Huang, Shirley Hsueh-Li & Hu, Guo-Hsin & Hsu, Ming-Fu, 2025. "Identifying contextual content-based risk drivers for advanced risk management strategies," Research in International Business and Finance, Elsevier, vol. 73(PB).
    5. Adam Zlatniczki & Andras Telcs, 2024. "Application of Portfolio Optimization to Achieve Persistent Time Series," Journal of Optimization Theory and Applications, Springer, vol. 201(2), pages 932-954, May.
    6. Kamil Kashif & Robert 'Slepaczuk, 2024. "LSTM-ARIMA as a Hybrid Approach in Algorithmic Investment Strategies," Papers 2406.18206, arXiv.org.
    7. Tang, Tiantian & Guo, Jiahui & Zou, Liping & Luo, Lu, 2025. "ESG fund performance and fund manager trading strategy: Evidence from China," Global Finance Journal, Elsevier, vol. 67(C).
    8. Li, Qianwen & Qian, Tingyu & Hua, Qian & Min, Jialin & Zhao, Yizhuo & Wang, Qingyuan & Long, Ruyin, 2025. "Collaboration and regulation: A dual regulatory game for the sustainable development of green housing," Research in International Business and Finance, Elsevier, vol. 74(C).
    9. Wei, Xiaohui & Li, Jian & Li, Yuanhaocheng, 2025. "Institutional environment, credit risk expectations, and firms' investment strategies," Finance Research Letters, Elsevier, vol. 81(C).

    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. Riahi, Rabeb & Bennajma, Amel & Jahmane, Abderrahmane & Hammami, Helmi, 2024. "Investing in cryptocurrency before and during the COVID-19 crisis: Hedge, diversifier or safe haven?," Research in International Business and Finance, Elsevier, vol. 67(PB).
    2. Mohammad Abdullah & Mohammad Ashraful Ferdous Chowdhury & Ajim Uddin & Syed Moudud‐Ul‐Huq, 2023. "Forecasting nonperforming loans using machine learning," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1664-1689, November.
    3. Będowska-Sójka, Barbara & Wójcik, Piotr & Pele, Daniel Traian, 2026. "Early warning systems for cryptocurrency markets: Predicting ‘zombie’ assets using machine learning," The North American Journal of Economics and Finance, Elsevier, vol. 81(C).
    4. Kevin Rink, 2025. "The role of technical chart patterns in the early Bitcoin market: intraday evidence from the Mt.Gox transaction dataset," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 11(1), pages 1-67, December.
    5. Cynthia Weiyi Cai & Rui Xue & Bi Zhou, 2023. "Cryptocurrency puzzles: a comprehensive review and re-introduction," Journal of Accounting Literature, Emerald Group Publishing Limited, vol. 46(1), pages 26-50, June.
    6. David M. Ritzwoller & Joseph P. Romano, 2019. "Uncertainty in the Hot Hand Fallacy: Detecting Streaky Alternatives to Random Bernoulli Sequences," Papers 1908.01406, arXiv.org, revised Apr 2021.
    7. Shazia Ghani, 2011. "A re-visit to Minsky after 2007 financial meltdown," Post-Print halshs-01027435, HAL.
    8. Christiane Goodfellow & Dirk Schiereck & Steffen Wippler, 2013. "Are behavioural finance equity funds a superior investment? A note on fund performance and market efficiency," Journal of Asset Management, Palgrave Macmillan, vol. 14(2), pages 111-119, April.
    9. Cagli, Efe Caglar & Taskin, Dilvin & Evrim Mandaci, Pınar, 2019. "The short- and long-run efficiency of energy, precious metals, and base metals markets: Evidence from the exponential smooth transition autoregressive models," Energy Economics, Elsevier, vol. 84(C).
    10. Andrew Weinbach & Rodney J. Paul, 2009. "National television coverage and the behavioural bias of bettors: the American college football totals market," International Gambling Studies, Taylor & Francis Journals, vol. 9(1), pages 55-66, April.
    11. Oxelheim, Lars & Rafferty, Michael, 2005. "On the static efficiency of secondary bond markets," Journal of Multinational Financial Management, Elsevier, vol. 15(2), pages 117-135, April.
    12. Shi, Huai-Long & Zhou, Wei-Xing, 2022. "Factor volatility spillover and its implications on factor premia," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 80(C).
    13. Pieter Nel & Renee van Eyden, 2026. "From News to Noise: Does Media Sentiment Drive Stock Market Volatility?," Working Papers 202605, University of Pretoria, Department of Economics.
    14. Yang, Ruohan & Su, Kun, 2025. "Attention centrality and information efficiency," Economics Letters, Elsevier, vol. 254(C).
    15. Nuruddeen Usman & Kodili Nwanneka & Nduka, 2023. "Announcement Effect of COVID-19 on Cryptocurrencies," Asian Economics Letters, Asia-Pacific Applied Economics Association, vol. 3(3), pages 1-4.
    16. Robert C. Merton, 2006. "Paul Samuelson and Financial Economics," The American Economist, Sage Publications, vol. 50(2), pages 9-31, October.
    17. Alagidede, Paul & Panagiotidis, Theodore, 2009. "Modelling stock returns in Africa's emerging equity markets," International Review of Financial Analysis, Elsevier, vol. 18(1-2), pages 1-11, March.
    18. Camille Baulant & Nivine Albouz, 2021. "Has financial globalization since 1990 reduced income inequality: the role of rating announcements on the volatility and the returns of the Brazilian Financial Market [Les annonces de notation souveraine, la volatilité des marchés financiers et le," Working Papers hal-03258994, HAL.
    19. Carlo Rosa & Giovanni Verga, 2006. "The Impact of Central Bank Announcements on Asset Prices in Real Time: Testing the Efficiency of the Euribor Futures Market," CEP Discussion Papers dp0764, Centre for Economic Performance, LSE.
    20. Choi, Gahyun & Park, Kwangyeol & Yi, Eojin & Ahn, Kwangwon, 2023. "Price fairness: Clean energy stocks and the overall market," Chaos, Solitons & Fractals, Elsevier, vol. 168(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C4 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics
    • C14 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Semiparametric and Nonparametric Methods: General
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C58 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Financial Econometrics
    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    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:eee:riibaf:v:66:y:2023:i:c:s0275531923001782. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/ribaf .

    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.