The Paradox Of Just-in-Time Liquidity in Decentralized Exchanges: More Providers Can Sometimes Mean Less Liquidity (2311.18164v2)
Abstract: We study Just-in-time (JIT) liquidity provision in blockchain-based decentralized exchanges. A JIT liquidity provider (LP) monitors pending swap orders in public mempools of blockchains to sandwich orders of their choice with liquidity, depositing right before and withdrawing right after the order. Our game-theoretic model with asymmetrically informed agents reveals that a JIT LP's presence does not always enhance liquidity pool depth, as one might expect. While passive LPs face adverse selection by informed arbitrageurs, a JIT LP's ability to detect pending orders for toxic order flow prior to liquidity provision lets them avoid being adversely selected. JIT LPs thus only provide liquidity to uninformed orders and crowd out passive LPs when order volume is not sufficiently elastic to pool depth, possibly reducing overall market liquidity. We show that using a two-tiered fee structure which transfers a part of a JIT LP's fee revenue to passive LPs or allowing for JIT LPs to compete `{a} la Cournot are potential solutions to mitigate the negative effects of JIT liquidity.
- Coexisting Exchange Platforms: Limit Order Books and Automated Market Makers. Working paper.
- On the Quality of Cryptocurrency Markets: Centralized Versus Decentralized Exchanges. Working paper.
- BIS. 2023. Project Mariana: cross-border exchange of wholesale CBDCs using automated market-makers.
- Predatory Trading. The Journal of Finance 60(4):1825–63. doi:https://doi.org/10.1111/j.1540-6261.2005.00781.x.
- The Adoption of Blockchain-based Decentralized Exchanges. SSRN Scholarly Paper 3805095. doi:10.2139/ssrn.3805095.
- Maximal Extractable Value and Allocative Inefficiencies in Public Blockchains. Working paper.
- CoinGecko. 2023. 2023 Q3 Crypto Industry Report.
- Liquidity with High-Frequency Market Making. SSRN Scholarly Paper 2416396. doi:10.2139/ssrn.2416396.
- The Need for Fees at a DEX: How Increases in Fees Can Increase DEX Trading Volume. SSRN Scholarly Paper 4192925. doi:10.2139/ssrn.4192925.
- ———. 2023. An Economic Model of a Decentralized Exchange with Concentrated Liquidity. SSRN Scholarly Paper 4529513. doi:10.2139/ssrn.4529513.
- Decentralized Exchange: The Uniswap Automated Market Maker. Forthcoming in Journal of Finance .
- Impermanent Loss in Uniswap v3. arXiv.
- Learning from DeFi: Would Automated Market Makers Improve Equity Trading? SSRN Scholarly Paper 4531670. doi:10.2139/ssrn.4531670.
- Menkveld, A. 2015. The Economics of High-Frequency Trading: Taking Stock. Annual Review of Financial Economics 8(1):1–24.
- Automated Market Making and Loss-Versus-Rebalancing. Working paper.
- Park, A. 2023. The Conceptual Flaws of Decentralized Automated Market Making. Management Science 69(11):6731–51.
- Just-in-Time Liquidity on the Uniswap Protocol. White paper.
- Demystifying Just-in-Time (JIT) Liquidity Attacks on Uniswap V3. Cryptology ePrint Archive 2023/973.