Hedging Impermanent Loss with Gamma Swap
Our previous articles explained a theoretical methodology for hedging impermanent loss (IL) using Power Perpetuals. However, as explained in the introductory paper of Gamma Swap, hedging IL with Power Perpetuals has an extremely low capital efficiency, which makes it not practical at all. This article explains how to hedge IL with Gamma Swap.
As mentioned in the introduction, when volatility stays still, Gamma Swap has the following theoretical price:
where and are the current underlying price and the entry price, while . We will see that impermanent loss has a very similar dynamic.
LP Position Value
Letās take the ETH-USDC pair on Uniswap V3 as example. Suppose an LP position contains ETH and USDC. Then and are functions of the ETH price p (in this article we follow the denotation of Uniswap V3 whitepaper):
The value of the LP position is as follows, for :
Suppose the LP position is added at , with ETH and USDC. The following equation should hold with these initial variables:
Hedge Impermanent Loss
Impermanent Loss refers to the loss of the LP position relative to the value of holding the original portfolio, ETH and USDC:
Denoting , with Taylor expansion, we have
It is very straightforward to hedge this with Gamma Swap. We just need to long units of Gamma Swap such that
which leads to
where .
Please note that, since the Taylor-expansion-based approximation has an error ~ , this only ensures the portfolio has almost 0 IL around the entry point. For a typical position in Uniswap V3 with a range about around the current price, the error is negligible as .
Obviously, this hedging comes at a cost, the funding fee of the Gamma Swap. The next section analyzes the cost. We will see that such a cost, although not constant, is reasonably predictable. Thatās the whole point of this hedging operation.
Hedging Cost
The theoretical funding fee of 1 unit of Gamma Swap for 1 funding period is:
The annualized cost of units of Gamma Swap is
Letās discuss a specific example: a range order around the current price, i.e. . Then, for ETH, we need USDC, and .
Numerical example: When ETHUSDC = 1000, for every 1 ETH added to a range order (900, 1000), =1102.7 USDC is needed.
Then the annualized cost ratio of the position value is:
Letās put this annualized cost ratio into numerical scenarios:
Volatility
-10%
-5%
0%
5%
10%
40%
35%
38%
41%
44%
47%
50%
54%
59%
64%
69%
74%
60%(~current BTCÐ)
78%
85%
92%
99%
106%
70%
107%
116%
125%
135%
145%
80%
139%
151%
164%
176%
189%
Now, this liquidity-providing business turns into a question: would the income of liquidity-providing (i.e. the transaction fee on the pair) cover the cost of hedging? Given that both the income and the cost are reasonably predictable, this is a very simple math problem.
Essentially, hedging the Uniswap LP position with Gamma Swap turns the exchange-risk-with-income game into an exchange-cost-with-income one. The latter is much easier to manage and thus suitable for most investors, including those risk-averse ones that otherwise would never take risks to provide liquidity to Uniswap. As long as the transaction fee income is greater than the hedging cost, the portfolio is profitable, with reasonable certainty.
Last updated