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

A closed-form solution for optimal mean-reverting trading strategies

Author

Listed:
  • Alexander Lipton
  • Marcos Lopez de Prado

Abstract

When prices reflect all available information, they oscillate around an equilibrium level. This oscillation is the result of the temporary market impact caused by waves of buyers and sellers. This price behavior can be approximated through an Ornstein-Uhlenbeck (O-U) process. Market makers provide liquidity in an attempt to monetize this oscillation. They enter a long position when a security is priced below its estimated equilibrium level, and they enter a short position when a security is priced above its estimated equilibrium level. They hold that position until one of three outcomes occur: (1) they achieve the targeted profit; (2) they experience a maximum tolerated loss; (3) the position is held beyond a maximum tolerated horizon. All market makers are confronted with the problem of defining profit-taking and stop-out levels. More generally, all execution traders acting on behalf of a client must determine at what levels an order must be fulfilled. Those optimal levels can be determined by maximizing the trader's Sharpe ratio in the context of O-U processes via Monte Carlo experiments. This paper develops an analytical framework and derives those optimal levels by using the method of heat potentials.

Suggested Citation

  • Alexander Lipton & Marcos Lopez de Prado, 2020. "A closed-form solution for optimal mean-reverting trading strategies," Papers 2003.10502, arXiv.org.
  • Handle: RePEc:arx:papers:2003.10502
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Nicolas Huck & Komivi Afawubo, 2015. "Pairs trading and selection methods: is cointegration superior?," Applied Economics, Taylor & Francis Journals, vol. 47(6), pages 599-613, February.
    2. Richard Martin & Torsten Schoneborn, 2011. "Mean Reversion Pays, but Costs," Papers 1103.4934, arXiv.org.
    3. Yang Bai & Lan Wu, 2018. "Analytic value function for optimal regime-switching pairs trading rules," Quantitative Finance, Taylor & Francis Journals, vol. 18(4), pages 637-654, April.
    4. Mark Cummins & Andrea Bucca, 2012. "Quantitative spread trading on crude oil and refined products markets," Quantitative Finance, Taylor & Francis Journals, vol. 12(12), pages 1857-1875, December.
    5. Roberto Baviera & Tommaso Santagostino Baldi, 2017. "Stop-loss and Leverage in optimal Statistical Arbitrage with an application to Energy market," Papers 1706.07021, arXiv.org.
    6. Binh Do & Robert Faff, 2012. "Are Pairs Trading Profits Robust To Trading Costs?," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 35(2), pages 261-287, June.
    7. Evan Gatev & William N. Goetzmann & K. Geert Rouwenhorst, 2006. "Pairs Trading: Performance of a Relative-Value Arbitrage Rule," The Review of Financial Studies, Society for Financial Studies, vol. 19(3), pages 797-827.
    8. Krauss, Christopher, 2015. "Statistical arbitrage pairs trading strategies: Review and outlook," FAU Discussion Papers in Economics 09/2015, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    9. Alexander Lipton & Vadim Kaushansky, 2018. "On the First Hitting Time Density of an Ornstein-Uhlenbeck Process," Papers 1810.02390, arXiv.org, revised Oct 2018.
    10. Zhengqin Zeng & Chi-Guhn Lee, 2014. "Pairs trading: optimal thresholds and profitability," Quantitative Finance, Taylor & Francis Journals, vol. 14(11), pages 1881-1893, November.
    11. Bertram, William K., 2010. "Analytic solutions for optimal statistical arbitrage trading," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 389(11), pages 2234-2243.
    12. Kiyoshi Suzuki, 2018. "Optimal pair-trading strategy over long/short/square positions—empirical study," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 97-119, January.
    13. Alexander Lipton & Vadim Kaushansky, 2020. "On the first hitting time density for a reducible diffusion process," Quantitative Finance, Taylor & Francis Journals, vol. 20(5), pages 723-743, May.
    14. Nicolas Huck & Komivi Afawubo, 2015. "Pairs trading and selection methods: is cointegration superior?," Post-Print hal-01369852, HAL.
    15. Marco Avellaneda & Jeong-Hyun Lee, 2010. "Statistical arbitrage in the US equities market," Quantitative Finance, Taylor & Francis Journals, vol. 10(7), pages 761-782.
    16. Bo Liu & Lo-Bin Chang & Hélyette Geman, 2017. "Intraday pairs trading strategies on high frequency data: the case of oil companies," Quantitative Finance, Taylor & Francis Journals, vol. 17(1), pages 87-100, January.
    17. Tim Leung & Xin Li, 2015. "Optimal Mean Reversion Trading With Transaction Costs And Stop-Loss Exit," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 18(03), pages 1-31.
    18. Joachim de Lataillade & Cyril Deremble & Marc Potters & Jean-Philippe Bouchaud, 2012. "Optimal Trading with Linear Costs," Papers 1203.5957, arXiv.org.
    19. Ahmet Göncü & Erdinç Akyıldırım, 2016. "Statistical Arbitrage with Pairs Trading," International Review of Finance, International Review of Finance Ltd., vol. 16(2), pages 307-319, June.
    20. Alexander Lipton, 2001. "Mathematical Methods for Foreign Exchange:A Financial Engineer's Approach," World Scientific Books, World Scientific Publishing Co. Pte. Ltd., number 4694, February.
    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. Alexander Lipton, 2020. "Old Problems, Classical Methods, New Solutions," Papers 2003.06903, arXiv.org.
    2. Andrey Itkin & Dmitry Muravey, 2020. "Semi-analytic pricing of double barrier options with time-dependent barriers and rebates at hit," Papers 2009.09342, arXiv.org, revised Oct 2020.
    3. Peter Carr & Andrey Itkin & Dmitry Muravey, 2020. "Semi-closed form prices of barrier options in the time-dependent CEV and CIR models," Papers 2005.05459, arXiv.org.
    4. Sophia Gu, 2021. "Deep Reinforcement Learning with Function Properties in Mean Reversion Strategies," Papers 2101.03418, arXiv.org, revised Sep 2021.
    5. A. Itkin & A. Lipton & D. Muravey, 2021. "Multilayer heat equations: application to finance," Papers 2102.08338, arXiv.org.
    6. Andrey Itkin & Dmitry Muravey, 2020. "Semi-closed form prices of barrier options in the Hull-White model," Papers 2004.09591, arXiv.org, revised Sep 2020.
    7. Peter Carr & Andrey Itkin, 2020. "Semi-closed form solutions for barrier and American options written on a time-dependent Ornstein Uhlenbeck process," Papers 2003.08853, arXiv.org, revised Mar 2020.

    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. Endres, Sylvia & Stübinger, Johannes, 2017. "Optimal trading strategies for Lévy-driven Ornstein-Uhlenbeck processes," FAU Discussion Papers in Economics 17/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    2. Endres, Sylvia & Stübinger, Johannes, 2018. "A flexible regime switching model with pairs trading application to the S&P 500 high-frequency stock returns," FAU Discussion Papers in Economics 07/2018, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    3. Stübinger, Johannes & Endres, Sylvia, 2017. "Pairs trading with a mean-reverting jump-diffusion model on high-frequency data," FAU Discussion Papers in Economics 10/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    4. Krauss, Christopher, 2015. "Statistical arbitrage pairs trading strategies: Review and outlook," FAU Discussion Papers in Economics 09/2015, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    5. Vladim'ir Hol'y & Petra Tomanov'a, 2018. "Estimation of Ornstein-Uhlenbeck Process Using Ultra-High-Frequency Data with Application to Intraday Pairs Trading Strategy," Papers 1811.09312, arXiv.org, revised Jul 2022.
    6. Ahmet Göncü & Erdinç Akyıldırım, 2016. "Statistical Arbitrage with Pairs Trading," International Review of Finance, International Review of Finance Ltd., vol. 16(2), pages 307-319, June.
    7. Flori, Andrea & Regoli, Daniele, 2021. "Revealing Pairs-trading opportunities with long short-term memory networks," European Journal of Operational Research, Elsevier, vol. 295(2), pages 772-791.
    8. Ahmet Göncü & Erdinc Akyildirim, 2016. "A stochastic model for commodity pairs trading," Quantitative Finance, Taylor & Francis Journals, vol. 16(12), pages 1843-1857, December.
    9. Boming Ning & Prakash Chakraborty & Kiseop Lee, 2023. "Optimal Entry and Exit with Signature in Statistical Arbitrage," Papers 2309.16008, arXiv.org, revised Mar 2024.
    10. Clegg, Matthew & Krauss, Christopher, 2016. "Pairs trading with partial cointegration," FAU Discussion Papers in Economics 05/2016, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    11. Erdinc Akyildirim & Ahmet Goncu & Alper Hekimoglu & Duc Khuong Nguyen & Ahmet Sensoy, 2023. "Statistical arbitrage: factor investing approach," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 45(4), pages 1295-1331, December.
    12. Johannes Stübinger & Lucas Schneider, 2019. "Statistical Arbitrage with Mean-Reverting Overnight Price Gaps on High-Frequency Data of the S&P 500," JRFM, MDPI, vol. 12(2), pages 1-19, April.
    13. Vladimír Holý & Michal Černý, 2022. "Bertram’s pairs trading strategy with bounded risk," Central European Journal of Operations Research, Springer;Slovak Society for Operations Research;Hungarian Operational Research Society;Czech Society for Operations Research;Österr. Gesellschaft für Operations Research (ÖGOR);Slovenian Society Informatika - Section for Operational Research;Croatian Operational Research Society, vol. 30(2), pages 667-682, June.
    14. Tim Leung & Kevin W. Lu, 2023. "Monte Carlo Simulation for Trading Under a L\'evy-Driven Mean-Reverting Framework," Papers 2309.05512, arXiv.org, revised Jan 2024.
    15. Johannes Stübinger & Sylvia Endres, 2018. "Pairs trading with a mean-reverting jump–diffusion model on high-frequency data," Quantitative Finance, Taylor & Francis Journals, vol. 18(10), pages 1735-1751, October.
    16. Khizar Qureshi & Tauhid Zaman, 2024. "Pairs Trading Using a Novel Graphical Matching Approach," Papers 2403.07998, arXiv.org.
    17. Boming Ning & Kiseop Lee, 2024. "Advanced Statistical Arbitrage with Reinforcement Learning," Papers 2403.12180, arXiv.org.
    18. Danni Chen & Jing Cui & Yan Gao & Leilei Wu, 2017. "Pairs trading in Chinese commodity futures markets: an adaptive cointegration approach," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 57(5), pages 1237-1264, December.
    19. Sánchez-Granero, M.A. & Balladares, K.A. & Ramos-Requena, J.P. & Trinidad-Segovia, J.E., 2020. "Testing the efficient market hypothesis in Latin American stock markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 540(C).
    20. Matthew Clegg & Christopher Krauss, 2018. "Pairs trading with partial cointegration," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 121-138, January.

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