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

Slow Momentum with Fast Reversion: A Trading Strategy Using Deep Learning and Changepoint Detection

Author

Listed:
  • Kieran Wood
  • Stephen Roberts
  • Stefan Zohren

Abstract

Momentum strategies are an important part of alternative investments and are at the heart of commodity trading advisors (CTAs). These strategies have, however, been found to have difficulties adjusting to rapid changes in market conditions, such as during the 2020 market crash. In particular, immediately after momentum turning points, where a trend reverses from an uptrend (downtrend) to a downtrend (uptrend), time-series momentum (TSMOM) strategies are prone to making bad bets. To improve the response to regime change, we introduce a novel approach, where we insert an online changepoint detection (CPD) module into a Deep Momentum Network (DMN) [1904.04912] pipeline, which uses an LSTM deep-learning architecture to simultaneously learn both trend estimation and position sizing. Furthermore, our model is able to optimise the way in which it balances 1) a slow momentum strategy which exploits persisting trends, but does not overreact to localised price moves, and 2) a fast mean-reversion strategy regime by quickly flipping its position, then swapping it back again to exploit localised price moves. Our CPD module outputs a changepoint location and severity score, allowing our model to learn to respond to varying degrees of disequilibrium, or smaller and more localised changepoints, in a data driven manner. Back-testing our model over the period 1995-2020, the addition of the CPD module leads to an improvement in Sharpe ratio of one-third. The module is especially beneficial in periods of significant nonstationarity, and in particular, over the most recent years tested (2015-2020) the performance boost is approximately two-thirds. This is interesting as traditional momentum strategies have been underperforming in this period.

Suggested Citation

  • Kieran Wood & Stephen Roberts & Stefan Zohren, 2021. "Slow Momentum with Fast Reversion: A Trading Strategy Using Deep Learning and Changepoint Detection," Papers 2105.13727, arXiv.org, revised Dec 2021.
  • Handle: RePEc:arx:papers:2105.13727
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Justin Sirignano & Rama Cont, 2018. "Universal features of price formation in financial markets: perspectives from Deep Learning," Papers 1803.06917, arXiv.org.
    2. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    3. De Bondt, Werner F M & Thaler, Richard, 1985. "Does the Stock Market Overreact?," Journal of Finance, American Finance Association, vol. 40(3), pages 793-805, July.
    4. Kim, Abby Y. & Tse, Yiuman & Wald, John K., 2016. "Time series momentum and volatility scaling," Journal of Financial Markets, Elsevier, vol. 30(C), pages 103-124.
    5. Brahim-Belhouari, Sofiane & Bermak, Amine, 2004. "Gaussian process for nonstationary time series prediction," Computational Statistics & Data Analysis, Elsevier, vol. 47(4), pages 705-712, November.
    6. Wei Bao & Jun Yue & Yulei Rao, 2017. "A deep learning framework for financial time series using stacked autoencoders and long-short term memory," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-24, July.
    7. Justin Sirignano & Rama Cont, 2018. "Universal features of price formation in financial markets: perspectives from Deep Learning," Working Papers hal-01754054, HAL.
    8. Jegadeesh, Narasimhan, 1991. "Seasonality in Stock Price Mean Reversion: Evidence from the U.S. and the U.K," Journal of Finance, American Finance Association, vol. 46(4), pages 1427-1444, September.
    9. Y. Lemp'eri`ere & C. Deremble & P. Seager & M. Potters & J. P. Bouchaud, 2014. "Two centuries of trend following," Papers 1404.3274, arXiv.org.
    10. Moskowitz, Tobias J. & Ooi, Yao Hua & Pedersen, Lasse Heje, 2012. "Time series momentum," Journal of Financial Economics, Elsevier, vol. 104(2), pages 228-250.
    11. Poterba, James M. & Summers, Lawrence H., 1988. "Mean reversion in stock prices : Evidence and Implications," Journal of Financial Economics, Elsevier, vol. 22(1), pages 27-59, October.
    12. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    13. Saejoon Kim, 2019. "Enhancing the momentum strategy through deep regression," Quantitative Finance, Taylor & Francis Journals, vol. 19(7), pages 1121-1133, July.
    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. Kieran Wood & Sven Giegerich & Stephen Roberts & Stefan Zohren, 2021. "Trading with the Momentum Transformer: An Intelligent and Interpretable Architecture," Papers 2112.08534, arXiv.org, revised Nov 2022.
    2. Eghbal Rahimikia & Stefan Zohren & Ser-Huang Poon, 2021. "Realised Volatility Forecasting: Machine Learning via Financial Word Embedding," Papers 2108.00480, arXiv.org, revised Mar 2023.

    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. Bryan Lim & Stefan Zohren & Stephen Roberts, 2019. "Enhancing Time Series Momentum Strategies Using Deep Neural Networks," Papers 1904.04912, arXiv.org, revised Sep 2020.
    2. Kieran Wood & Sven Giegerich & Stephen Roberts & Stefan Zohren, 2021. "Trading with the Momentum Transformer: An Intelligent and Interpretable Architecture," Papers 2112.08534, arXiv.org, revised Nov 2022.
    3. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, September.
    4. Giner, Javier & Zakamulin, Valeriy, 2023. "A regime-switching model of stock returns with momentum and mean reversion," Economic Modelling, Elsevier, vol. 122(C).
    5. Bianchi, Robert J. & Drew, Michael E. & Fan, John Hua, 2016. "Commodities momentum: A behavioral perspective," Journal of Banking & Finance, Elsevier, vol. 72(C), pages 133-150.
    6. Zihao Zhang & Stefan Zohren & Stephen Roberts, 2018. "DeepLOB: Deep Convolutional Neural Networks for Limit Order Books," Papers 1808.03668, arXiv.org, revised Jan 2020.
    7. Spierdijk, Laura & Bikker, Jacob A. & van den Hoek, Pieter, 2012. "Mean reversion in international stock markets: An empirical analysis of the 20th century," Journal of International Money and Finance, Elsevier, vol. 31(2), pages 228-249.
    8. Daniel Poh & Bryan Lim & Stefan Zohren & Stephen Roberts, 2021. "Enhancing Cross-Sectional Currency Strategies by Context-Aware Learning to Rank with Self-Attention," Papers 2105.10019, arXiv.org, revised Jan 2022.
    9. Albuquerque, Rui & Miao, Jianjun, 2014. "Advance information and asset prices," Journal of Economic Theory, Elsevier, vol. 149(C), pages 236-275.
    10. Shi, Huai-Long & Zhou, Wei-Xing, 2017. "Time series momentum and contrarian effects in the Chinese stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 483(C), pages 309-318.
    11. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    12. Amit Goyal & Narasimhan Jegadeesh, 2018. "Cross-Sectional and Time-Series Tests of Return Predictability: What Is the Difference?," The Review of Financial Studies, Society for Financial Studies, vol. 31(5), pages 1784-1824.
    13. Sandrine Jacob Leal, 2015. "Fundamentalists, chartists and asset pricing anomalies," Quantitative Finance, Taylor & Francis Journals, vol. 15(11), pages 1837-1850, November.
    14. He, Xue-Zhong & Li, Kai & Li, Youwei, 2018. "Asset allocation with time series momentum and reversal," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 441-457.
    15. Adam Majewski & Stefano Ciliberti & Jean-Philippe Bouchaud, 2018. "Co-existence of Trend and Value in Financial Markets: Estimating an Extended Chiarella Model," Papers 1807.11751, arXiv.org.
    16. Majewski, Adam A. & Ciliberti, Stefano & Bouchaud, Jean-Philippe, 2020. "Co-existence of trend and value in financial markets: Estimating an extended Chiarella model," Journal of Economic Dynamics and Control, Elsevier, vol. 112(C).
    17. Kieran Wood & Samuel Kessler & Stephen J. Roberts & Stefan Zohren, 2023. "Few-Shot Learning Patterns in Financial Time-Series for Trend-Following Strategies," Papers 2310.10500, arXiv.org, revised Mar 2024.
    18. Huang, Dashan & Li, Jiangyuan & Wang, Liyao & Zhou, Guofu, 2020. "Time series momentum: Is it there?," Journal of Financial Economics, Elsevier, vol. 135(3), pages 774-794.
    19. Daniel Poh & Bryan Lim & Stefan Zohren & Stephen Roberts, 2020. "Building Cross-Sectional Systematic Strategies By Learning to Rank," Papers 2012.07149, arXiv.org.
    20. Liu, Zhenya & Lu, Shanglin & Li, Bo & Wang, Shixuan, 2023. "Time series momentum and reversal: Intraday information from realized semivariance," Journal of Empirical Finance, Elsevier, vol. 72(C), pages 54-77.

    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:2105.13727. 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.