Competition between DEXs through Dynamic Fees

This paper characterizes the approximate Nash equilibrium of competing decentralized exchanges setting dynamic fees, revealing that while the two-regime fee structure persists, competition shifts the fee-switching boundary to a weighted average of oracle and competitor rates, ultimately reducing slippage for strategic traders while having activity-dependent effects on noise traders.

Leonardo Baggiani, Martin Herdegen, Leandro Sanchez-Betancourt

Published Wed, 11 Ma
📖 5 min read🧠 Deep dive

Imagine a bustling digital marketplace where people trade digital assets (like crypto tokens). In this world, there are no human bankers or stockbrokers. Instead, the trading happens automatically through "pools" of money managed by computer code. These are called Decentralized Exchanges (DEXs).

Think of these pools like lemonade stands.

  • The Liquidity Providers (LPs) are the people who put their lemons and sugar into the stands so others can buy lemonade. They want to make a profit.
  • The Liquidity Takers are the customers buying the lemonade.
  • The Fee is the price the stand charges for every cup sold.

For a long time, these stands had a fixed price (a static fee). But recently, technology allowed them to change their prices dynamically based on what's happening outside. This paper asks a big question: What happens when multiple lemonade stands compete against each other by changing their prices in real-time?

Here is the story of the paper, broken down into simple concepts:

1. The Two Types of Customers

To understand the stands' strategy, we need to know who is buying:

  • The "Noise" Customers: These are regular people just thirsty for lemonade. They don't care about the price too much; they just want a drink. The stands love these customers because they provide steady business.
  • The "Arbitrageurs" (The Smart Shoppers): These are professional traders who watch the prices of all the stands. If Stand A sells lemonade for $1.00 and Stand B sells it for $1.05, the Smart Shopper buys from A and sells to B instantly to make a free profit. This is bad for the stands because it drains their inventory without them making enough fee money.

2. The Old Way (Monopoly)

Imagine there is only one lemonade stand in town.

  • If the Smart Shoppers get too active, the stand raises its price (fee) to scare them away.
  • If the stand is too expensive, it loses the regular thirsty customers.
  • The stand has a "switching point": when the price gets too high, it lowers the fee to attract regulars; when the price gets too low, it raises the fee to stop the Smart Shoppers.

3. The New Reality (Competition)

Now, imagine two (or more) stands right next to each other. This is the core of the paper.

  • The Game: Each stand tries to set the perfect fee to make the most money, but they have to guess what the other stand is doing.
  • The "Weighted Average" Rule: In the old monopoly world, a stand only looked at the "official" market price (the Oracle) to decide when to change fees.
    • The Analogy: Now, the stand doesn't just look at the official price. It looks at the average of the official price AND the price of its rival stand.
    • If the rival stand lowers its price, the first stand must react faster. The "switching point" moves. It's no longer just about the outside world; it's about the neighborhood war.

4. The Surprising Results

The authors ran thousands of computer simulations to see how this competition plays out. Here is what they found:

  • The "Smart Shoppers" Win: When there are more stands competing, the Smart Shoppers can route their orders to the cheapest stand. This means they get better deals (less "slippage," or extra cost).
  • The "Regular Customers" Pay the Price (Sometimes):
    • In a quiet market (low activity), competition makes the stands charge higher fees to regular customers to survive. The regulars get worse deals.
    • In a busy market (high activity/volatility), the stands are so busy that they actually lower fees to grab volume. In this case, the regular customers get better deals!
  • The Stands Lose Money: This is the sad part for the lemonade stand owners. Even though the total amount of lemonade sold might stay the same, the total profit for the stands goes down. Why? Because they are fighting over the same customers, driving prices down.
    • The Metaphor: It's like a price war at a gas station. If two stations are right next to each other, they keep lowering prices to steal customers. Eventually, both stations make less money than if one of them had just been alone.

5. The "Linear" Secret

The math in the paper is very complex (involving partial differential equations), but the authors found a simple pattern:

  • The optimal fee isn't a crazy, unpredictable curve. It's almost a straight line.
  • The Metaphor: You don't need a supercomputer to run the stand. You can just say, "If I have too much inventory, I lower the price. If I have too little, I raise it." This simple rule works almost as well as the complex math, which is great news for saving on computer costs (gas fees).

Summary: Who Wins and Who Loses?

  • The Winners: The Smart Traders (Arbitrageurs) and, in busy markets, the Regular Customers. They get better prices because the stands are fighting for them.
  • The Losers: The Lemonade Stand Owners (Liquidity Providers). They have to work harder for less profit because the competition eats into their margins.
  • The Platform: The platform hosting the stands (like Uniswap) doesn't care much; it takes a cut of the fees, and the total volume stays roughly the same.

In a nutshell: This paper proves that when automated markets compete, they become more efficient for the traders but less profitable for the people providing the money. It's a classic economic trade-off: Competition helps the buyer, but it squeezes the seller.