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

Cyclic Arbitrage in Decentralized Exchanges

Author

Listed:
  • Ye Wang
  • Yan Chen
  • Haotian Wu
  • Liyi Zhou
  • Shuiguang Deng
  • Roger Wattenhofer

Abstract

Decentralized Exchanges (DEXes) enable users to create markets for exchanging any pair of cryptocurrencies. The direct exchange rate of two tokens may not match the cross-exchange rate in the market, and such price discrepancies open up arbitrage possibilities with trading through different cryptocurrencies cyclically. In this paper, we conduct a systematic investigation on cyclic arbitrages in DEXes. We propose a theoretical framework for studying cyclic arbitrage. With our framework, we analyze the profitability conditions and optimal trading strategies of cyclic transactions. We further examine exploitable arbitrage opportunities and the market size of cyclic arbitrages with transaction-level data of Uniswap V2. We find that traders have executed 292,606 cyclic arbitrages over eleven months and exploited more than 138 million USD in revenue. However, the revenue of the most profitable unexploited opportunity is persistently higher than 1 ETH (4,000 USD), which indicates that DEX markets may not be efficient enough. By analyzing how traders implement cyclic arbitrages, we find that traders can utilize smart contracts to issue atomic transactions and the atomic implementations could mitigate users' financial loss in cyclic arbitrage from the price impact.

Suggested Citation

  • Ye Wang & Yan Chen & Haotian Wu & Liyi Zhou & Shuiguang Deng & Roger Wattenhofer, 2021. "Cyclic Arbitrage in Decentralized Exchanges," Papers 2105.02784, arXiv.org, revised Jan 2022.
  • Handle: RePEc:arx:papers:2105.02784
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Daniel J. Fenn & Sam D. Howison & Mark Mcdonald & Stacy Williams & Neil F. Johnson, 2009. "The Mirage Of Triangular Arbitrage In The Spot Foreign Exchange Market," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 12(08), pages 1105-1123.
    2. Makarov, Igor & Schoar, Antoinette, 2020. "Trading and arbitrage in cryptocurrency markets," LSE Research Online Documents on Economics 100409, London School of Economics and Political Science, LSE Library.
    3. Rainer Böhme & Nicolas Christin & Benjamin Edelman & Tyler Moore, 2015. "Bitcoin: Economics, Technology, and Governance," Journal of Economic Perspectives, American Economic Association, vol. 29(2), pages 213-238, Spring.
    4. Makarov, Igor & Schoar, Antoinette, 2020. "Trading and arbitrage in cryptocurrency markets," Journal of Financial Economics, Elsevier, vol. 135(2), pages 293-319.
    5. Athey, Susan & Parashkevov, Ivo & Sarukkai, Vishnu & Xia, Jing, 2016. "Bitcoin Pricing, Adoption, and Usage: Theory and Evidence," Research Papers 3469, Stanford University, Graduate School of Business.
    6. Aiba, Yukihiro & Hatano, Naomichi & Takayasu, Hideki & Marumo, Kouhei & Shimizu, Tokiko, 2002. "Triangular arbitrage as an interaction among foreign exchange rates," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 310(3), pages 467-479.
    7. McCormick, Frank, 1979. "Covered Interest Arbitrage: Unexploited Profits? Comment," Journal of Political Economy, University of Chicago Press, vol. 87(2), pages 411-417, April.
    8. Paz Grimberg & Tobias Lauinger & Damon McCoy, 2020. "Empirical Analysis of Indirect Internal Conversions in Cryptocurrency Exchanges," Papers 2002.12274, arXiv.org.
    9. Huberman, Gur & Leshno, Jacob & Moallemi, Ciamac C., 2017. "Monopoly Without a Monopolist: An Economic Analysis of the Bitcoin Payment System," CEPR Discussion Papers 12322, C.E.P.R. Discussion Papers.
    10. Henry N. Goldstein, 1964. "The Implications Of Triangular Arbitrage For Forward Exchange Policy," Journal of Finance, American Finance Association, vol. 19(3), pages 544-551, September.
    11. Frank McCormick, 1979. "Covered-interest arbitrage: unexploited profits: comment," International Finance Discussion Papers 132, Board of Governors of the Federal Reserve System (U.S.).
    12. Aiba, Yukihiro & Hatano, Naomichi & Takayasu, Hideki & Marumo, Kouhei & Shimizu, Tokiko, 2003. "Triangular arbitrage and negative auto-correlation of foreign exchange rates," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 324(1), pages 253-257.
    13. repec:zbw:bofrdp:2017_027 is not listed on IDEAS
    14. Easley, David & O'Hara, Maureen & Basu, Soumya, 2019. "From mining to markets: The evolution of bitcoin transaction fees," Journal of Financial Economics, Elsevier, vol. 134(1), pages 91-109.
    15. Yukihiro Aiba & Naomichi Hatano & Hideki Takayasu & Kouhei Marumo & Tokiko Shimizu, 2002. "Triangular arbitrage as an interaction among foreign exchange rates," Papers cond-mat/0202391, arXiv.org, revised Mar 2002.
    16. Aiba, Yukihiro & Hatano, Naomichi, 2004. "Triangular arbitrage in the foreign exchange market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 344(1), pages 174-177.
    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. Raphael Auer & Bernhard Haslhofer & Stefan Kitzler & Pietro Saggese & Friedhelm Victor, 2024. "The technology of decentralized finance (DeFi)," Digital Finance, Springer, vol. 6(1), pages 55-95, March.
    2. Saggese, Pietro & Belmonte, Alessandro & Dimitri, Nicola & Facchini, Angelo & Böhme, Rainer, 2023. "Arbitrageurs in the Bitcoin ecosystem: Evidence from user-level trading patterns in the Mt. Gox exchange platform," Journal of Economic Behavior & Organization, Elsevier, vol. 213(C), pages 251-270.
    3. Lioba Heimbach & Ye Wang & Roger Wattenhofer, 2021. "Behavior of Liquidity Providers in Decentralized Exchanges," Papers 2105.13822, arXiv.org, revised Oct 2021.

    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. Hanna Halaburda & Guillaume Haeringer & Joshua Gans & Neil Gandal, 2022. "The Microeconomics of Cryptocurrencies," Journal of Economic Literature, American Economic Association, vol. 60(3), pages 971-1013, September.
    2. Bruno Biais & Christophe Bisière & Matthieu Bouvard & Catherine Casamatta & Albert J. Menkveld, 2023. "Equilibrium Bitcoin Pricing," Journal of Finance, American Finance Association, vol. 78(2), pages 967-1014, April.
    3. Sokolov, Konstantin, 2021. "Ransomware activity and blockchain congestion," Journal of Financial Economics, Elsevier, vol. 141(2), pages 771-782.
    4. Saggese, Pietro & Belmonte, Alessandro & Dimitri, Nicola & Facchini, Angelo & Böhme, Rainer, 2023. "Arbitrageurs in the Bitcoin ecosystem: Evidence from user-level trading patterns in the Mt. Gox exchange platform," Journal of Economic Behavior & Organization, Elsevier, vol. 213(C), pages 251-270.
    5. Dunbar, Kwamie & Owusu-Amoako, Johnson, 2022. "Cryptocurrency returns under empirical asset pricing," International Review of Financial Analysis, Elsevier, vol. 82(C).
    6. Zimmerman, Peter, 2020. "Blockchain structure and cryptocurrency prices," Bank of England working papers 855, Bank of England.
    7. Klaus Grobys, 2021. "When the blockchain does not block: on hackings and uncertainty in the cryptocurrency market," Quantitative Finance, Taylor & Francis Journals, vol. 21(8), pages 1267-1279, August.
    8. Saketh Aleti & Bruce Mizrach, 2021. "Bitcoin spot and futures market microstructure," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 41(2), pages 194-225, February.
    9. Matteo Benetton & Giovanni Compiani, 2024. "Investors’ Beliefs and Cryptocurrency Prices," The Review of Asset Pricing Studies, Society for Financial Studies, vol. 14(2), pages 197-236.
    10. Daniel Tut, 2022. "Bitcoin: Future or Fad?," Springer Books, in: Thomas Walker & Frederick Davis & Tyler Schwartz (ed.), Big Data in Finance, pages 133-157, Springer.
    11. Makarov, Igor & Schoar, Antoinette, 2021. "Blockchain analysis of the Bitcoin market," LSE Research Online Documents on Economics 118897, London School of Economics and Political Science, LSE Library.
    12. Crépellière, Tommy & Pelster, Matthias & Zeisberger, Stefan, 2023. "Arbitrage in the market for cryptocurrencies," Journal of Financial Markets, Elsevier, vol. 64(C).
    13. Paz Grimberg & Tobias Lauinger & Damon McCoy, 2020. "Empirical Analysis of Indirect Internal Conversions in Cryptocurrency Exchanges," Papers 2002.12274, arXiv.org.
    14. Batten, Jonathan A. & Szilagyi, Peter G., 2007. "Covered interest parity arbitrage and temporal long-term dependence between the US dollar and the Yen," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 376(C), pages 409-421.
    15. Gilles Hilary & Laura Xiaolei Liu, 2021. "Blockchain and Other Distributed Ledger Technologies in Finance," Springer Books, in: Raghavendra Rau & Robert Wardrop & Luigi Zingales (ed.), The Palgrave Handbook of Technological Finance, pages 243-268, Springer.
    16. Feng, Wenjun & Zhang, Zhengjun, 2023. "Currency exchange rate predictability: The new power of Bitcoin prices," Journal of International Money and Finance, Elsevier, vol. 132(C).
    17. Gryglewicz, Sebastian & Mayer, Simon & Morellec, Erwan, 2021. "Optimal financing with tokens," Journal of Financial Economics, Elsevier, vol. 142(3), pages 1038-1067.
    18. Peter G. Szilagyi & Jonathan A. Batten, 2006. "Arbitrage, Covered Interest Parity and Long-Term Dependence between the US Dollar and the Yen," The Institute for International Integration Studies Discussion Paper Series iiisdp128, IIIS.
    19. repec:eme:jalpps:jal-02-2023-0023 is not listed on IDEAS
    20. Bertrand Crettez & Lisa Morhaim, 2022. "General equilibrium cryptocurrency pricing in an OLG model," Post-Print hal-04103599, HAL.
    21. Alberto Ciacci & Takumi Sueshige & Hideki Takayasu & Kim Christensen & Misako Takayasu, 2020. "The microscopic relationships between triangular arbitrage and cross-currency correlations in a simple agent based model of foreign exchange markets," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-19, June.

    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.02784. 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.