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

Detecting Depegs: Towards Safer Passive Liquidity Provision on Curve Finance

Author

Listed:
  • Thomas N. Cintra
  • Maxwell P. Holloway

Abstract

We consider a liquidity provider's (LP's) exposure to stablecoin and liquid staking derivative (LSD) depegs on Curve's StableSwap pools. We construct a suite of metrics designed to detect potential asset depegs based on price and trading data. Using our metrics, we fine-tune a Bayesian Online Changepoint Detection (BOCD) algorithm to alert LPs of potential depegs before or as they occur. We train and test our changepoint detection algorithm against Curve LP token prices for 13 StableSwap pools throughout 2022 and 2023, focusing on relevant stablecoin and LSD depegs. We show that our model, trained on 2022 UST data, is able to detect the USDC depeg in March of 2023 at 9pm UTC on March 10th, approximately 5 hours before USDC dips below 99 cents, with few false alarms in the 17 months on which it is tested. Finally, we describe how this research may be used by Curve's liquidity providers, and how it may be extended to dynamically de-risk Curve pools by modifying parameters in anticipation of potential depegs. This research underpins an API developed to alert Curve LPs, in real-time, when their positions might be at risk.

Suggested Citation

  • Thomas N. Cintra & Maxwell P. Holloway, 2023. "Detecting Depegs: Towards Safer Passive Liquidity Provision on Curve Finance," Papers 2306.10612, arXiv.org.
  • Handle: RePEc:arx:papers:2306.10612
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Easley, David & Hvidkjaer, Soeren & O’Hara, Maureen, 2010. "Factoring Information into Returns," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 45(2), pages 293-309, April.
    2. Foucault, Thierry & Pagano, Marco & Roell, Ailsa, 2013. "Market Liquidity: Theory, Evidence, and Policy," OUP Catalogue, Oxford University Press, number 9780199936243.
    3. Andreas A. Aigner & Gurvinder Dhaliwal, 2021. "UNISWAP: Impermanent Loss and Risk Profile of a Liquidity Provider," Papers 2106.14404, arXiv.org.
    4. Imran Yousaf & Shoaib Ali & Wing-Keung Wong, 2020. "An Empirical Analysis of the Volatility Spillover Effect between World-Leading and the Asian Stock Markets: Implications for Portfolio Management," JRFM, MDPI, vol. 13(10), pages 1-28, September.
    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. Pham, Son Duy & Nguyen, Thao Thac Thanh & Do, Hung Xuan, 2022. "Effect of futures trading on the liquidity of underlying stocks: Evidence from Vietnam," Pacific-Basin Finance Journal, Elsevier, vol. 73(C).
    2. Klova, Valeriia & Odegaard, Bernt Arne, 2018. "Equity trading costs have fallen less than commonly thought. Evidence using alternative trading cost estimators," UiS Working Papers in Economics and Finance 2018/4, University of Stavanger, revised 2019.
    3. Sun, Yuxin & Ibikunle, Gbenga, 2017. "Informed trading and the price impact of block trades: A high frequency trading analysis," International Review of Financial Analysis, Elsevier, vol. 54(C), pages 114-129.
    4. Maria Ludovica Drudi & Giulio Carlo Venturi, 2023. "Assessing the liquidity premium in the Italian bond market," Questioni di Economia e Finanza (Occasional Papers) 795, Bank of Italy, Economic Research and International Relations Area.
    5. Patty Bick & Matthew D. Crook & Andrew A. Lynch & Brian R. Walkup, 2017. "Does Distance Matter In Mergers And Acquisitions?," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 40(1), pages 33-54, March.
    6. Lof, Matthijs & van Bommel, Jos, 2023. "Asymmetric information and the distribution of trading volume," Journal of Corporate Finance, Elsevier, vol. 82(C).
    7. Hwang, Hae-shin & Jindapon, Paan, 2020. "Market making with convex quotes," Finance Research Letters, Elsevier, vol. 37(C).
    8. Malinova, Katya & Park, Andreas, 2014. "The impact of competition and information on intraday trading," Journal of Banking & Finance, Elsevier, vol. 44(C), pages 55-71.
    9. Marco Wölfle, 2009. "Information-based trade in Russia and the effects of listing abroad," Economic Change and Restructuring, Springer, vol. 42(4), pages 229-262, November.
    10. Markus K. Brunnermeier & Sam Langfield & Marco Pagano & Ricardo Reis & Stijn Van Nieuwerburgh & Dimitri Vayanos, 2017. "ESBies: safety in the tranches," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 32(90), pages 175-219.
    11. Miriello, Caterina & Polo, Michele, 2015. "The development of gas hubs in Europe," Energy Policy, Elsevier, vol. 84(C), pages 177-190.
    12. Patrick J. Kelly, 2014. "Information Efficiency and Firm-Specific Return Variation," Quarterly Journal of Finance (QJF), World Scientific Publishing Co. Pte. Ltd., vol. 4(04), pages 1-44.
    13. Bruno Mazorra & Victor Adan & Vanesa Daza, 2022. "Do not rug on me: Zero-dimensional Scam Detection," Papers 2201.07220, arXiv.org.
    14. Brice Corgnet & Mark DeSantis & Christoph Siemroth, 2023. "Algorithmic Trading, Price Efficiency and Welfare: An Experimental Approach," Working Papers 2313, Groupe d'Analyse et de Théorie Economique Lyon St-Étienne (GATE Lyon St-Étienne), Université de Lyon.
    15. Lee, Hua & Lee, Hsien-Li & Wang, Chen-Chin, 2017. "Engagement partner specialization and corporate disclosure transparency," The International Journal of Accounting, Elsevier, vol. 52(4), pages 354-369.
    16. Thomas A. P. de Boer & Cornelis Gardebroek & Joost M. E. Pennings & Andres Trujillo‐Barrera, 2022. "Intraday liquidity in soybean complex futures markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 42(7), pages 1189-1211, July.
    17. Zimmerman, Peter, 2020. "Blockchain structure and cryptocurrency prices," Bank of England working papers 855, Bank of England.
    18. Thomas Pöppe & Michael Aitken & Dirk Schiereck & Ingo Wiegand, 2016. "A PIN per day shows what news convey: the intraday probability of informed trading," Review of Quantitative Finance and Accounting, Springer, vol. 47(4), pages 1187-1220, November.
    19. Claudio Impenna & Paola Paiardini, 2019. "Informed trading in a two-tier market structure under financial distress," Discussion Papers 19-06, Department of Economics, University of Birmingham.
    20. Ingomar Krohn & Philippe Mueller & Paul Whelan, 2021. "Foreign Exchange Fixings and Returns Around the Clock," Staff Working Papers 21-48, Bank of Canada.

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