IDEAS home Printed from https://ideas.repec.org/a/erh/journl/v12y2020i2p112-138.html
   My bibliography  Save this article

Employing Machine Learning Algorithms to build Trading Strategies with higher than Risk-Free Returns

Author

Listed:
  • Baris Yalin Uzunlu

    (Albert-Ludwigs-Universität Freiburg, Freiburg im Breisgau, Germany.)

  • Syed Muzammil Hussain

    (Albert-Ludwigs-Universität Freiburg, Freiburg im Breisgau, Germany.)

Abstract

This research aims at exploring whether simple trading strategies developed using state-ofthe-art Machine Learning (ML) algorithms can guarantee more than the risk-free rate of return or not. For this purpose, the direction of S&P 500 Index returns on every 6th day (SPYRETDIR6) and magnitude of S&P 500 Index daily returns (SPYMAG) were predicted on a broad selection of independent variables using various ML techniques. Using five consecutive data spans of equal length, GBM was found to provide highest prediction accuracy on SPYRETDIR6, consistently. In terms of magnitude prediction of daily returns (SPYMAG), Random Forest results indicated that there is a very high correlation between actual/predicted values of SPY. Based on these results, Trading Strategy #1 (using SPYRETDIR6 predictions) and Trading Strategy #2 (using SPYMAG predictions) were developed and tested against a simple Buy & Hold benchmark of the same index. It was found that Trading Strategy #1 provides negative returns on all data spans, while Trading Strategy #2 has positive returns on average when data is separated into consecutive data spans. None of the trading strategies have a positive Sharpe ratio on average, but Trading Strategy #2 is almost as profitable as investing in T-bills using the risk-free rate.

Suggested Citation

  • Baris Yalin Uzunlu & Syed Muzammil Hussain, 2020. "Employing Machine Learning Algorithms to build Trading Strategies with higher than Risk-Free Returns," International Econometric Review (IER), Econometric Research Association, vol. 12(2), pages 112-138, September.
  • Handle: RePEc:erh:journl:v:12:y:2020:i:2:p:112-138
    as

    Download full text from publisher

    File URL: http://www.era.org.tr/makaleler/805042.pdf
    Download Restriction: no
    ---><---

    Citations

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


    Cited by:

    1. Carvajal-Patiño, Daniel & Ramos-Pollán, Raul, 2022. "Synthetic data generation with deep generative models to enhance predictive tasks in trading strategies," Research in International Business and Finance, Elsevier, vol. 62(C).

    More about this item

    Keywords

    Machine Learning; S&P 500; Forecasting; Ensemble Methods; XGBoost.;
    All these keywords.

    JEL classification:

    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis

    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:erh:journl:v:12:y:2020:i:2:p:112-138. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: M. F. Cosar (email available below). General contact details of provider: https://edirc.repec.org/data/eratrea.html .

    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.