Centralized exchanges (CEXs) can move prices within 300ms or even faster, while Ethereum’s average block time is 12 seconds. This discrepancy causes Automated Market Makers (AMMs) to quote stale prices. Informed traders and arbitrageurs exploit these stale quotes, leading to:
- Direct costs borne by liquidity providers (LPs).
- Indirect costs absorbed by regular traders.
Discriminate fees between informed traders and regular traders.
AMMs quote liquidity symmetrically based on their current price. Let’s examine this step by step:
-
Initial State:
Assume the AMM price matches the CEX price. The AMM quotes a symmetric spread of2f
, as shown below: -
Price Movement:
CEX prices move, pushing the price outside the AMM's bid-ask spread.
An arbitrageur exploits this by buying ETH from the AMM and selling it on CEXes: -
After Arbitrage:
- The AMM continues quoting a spread of
2f
. - The best ask price aligns with the CEX price, while the best bid price is still
2f
away. - This creates an inefficient quote:
- The ask side becomes vulnerable to more arbitrage.
- The bid side remains too far from the market price.
- The AMM continues quoting a spread of
To address this inefficiency, we introduce asymmetric fees:
-
Adjust Fees:
- Move the best bid and ask prices to respond to market changes.
- Respect the AMM invariant (e.g.,
xy = k
) by:- Increasing the fee for ETH buys by
δ
. - Decreasing the fee for ETH sales by
δ
.
- Increasing the fee for ETH buys by
-
Preserve Spread:
- The total quoted spread remains
2f
.
- The total quoted spread remains
-
Formula:
If the AMM price in blockt
changes byΔ
, then at the top of blockt+1
:- Increase the buy fee:
fee_buy = fee_buy + δ
- Decrease the sell fee:
fee_sell = fee_sell - δ
- Where
δ = cΔ
for some constantc > 0
.
Ensure that neither fee becomes negative.
- Increase the buy fee:
- Arbitrage vs. Uninformed Flows:
- Uninformed flows lack significant autocorrelation in direction.
- Arbitrage flows, however, exhibit directionality:
- If the market pushes the AMM's ask, it is more likely to keep pushing the ask than to reverse direction.
- Penalizing transactions consistent with the previous block affects arbitrageurs more than uninformed traders.
A simulation run by @0x94305 demonstrates the effectiveness of asymmetric fees:
-
Parameters:
- Pair: ETH/USDC.
- Liquidity: $50,000 per basis point.
- Fee: 5 bps.
- Daily volatility: 5%.
- Fees adjusted by 0.75 of the price impact of the previous block.
-
Results:
- LP losses reduced by approximately 10% with dynamic fees compared to fixed fees.
- Dynamic fees lead to higher revenues, eliminating the need for the LVR vs. IL debate.