- Published on
Hedging against impermanent loss with Binance perpetual futures
- Authors
- Name
- Aaron Schmid
This strategy mitigates impermanent loss (or IL) for a Uniswap V2 ETH/USDC liquidity provider by using a hedging approach with Binance perpetual futures. It involves holding both a long call and a long put with strike prices set at of the initial ETH price, matching the liquidity pool’s ETH exposure. Similar strategies have been widely used in defi for mitigating IL.
High-level Workflow
This is a high level workflow of a potential bot implementation for this strategy.
Step 1: Initialize the Position
- The bot monitors the Uniswap V2 ETH/USDC pool and determines the initial deposit amounts.
- It records the initial price and the corresponding ETH and USDC reserves.
- A hedge position is created by opening both a long call and a long put on ETH/USDC perpetual futures, with strike prices set at of .
Step 2: Market Monitoring
- The bot continuously tracks ETH price movements, liquidity pool balances andimpermanent loss and perpetual position value.
Step 3: Hedge Rebalancing
- If the ETH price moves significantly, the bot evaluates whether the hedge position is still effective.
- The hedge is adjusted periodically based on predefined rebalancing thresholds (e.g., every 5% price move).
- The bot either closes existing options and opens new ones to maintain effectiveness of the hedge position.
Step 4: Position Settlement and Exit
- If the LP decides to withdraw funds from the pool, the bot closes all hedge positions.
Mathematical Framework
To evaluate the effectiveness of our hedging strategy we will use a backtest which is based upon this simple mathematical model based on Uniswap V2 constant product formula.
A liquidity provider LP deposits his ETH and USDC into a Uniswap V2 pool. We will assume that this LP is the only provider in this pool for simplicity.
In our backtest we will assume ETH returns (relative price changes) are normally distributed.
Any new price is therefore given by
Uniswap V2 pools follow the constant product formula, so therefore is defined as
We do not deposit or withdraw any LP during the backtest so we can assume that is constant.
The new ETH and USDC reserves (, ) in relation to a new price can be derived as follows.
The total value of the LP () can be calculated trivially.
The value if we holded () the assets instead of depositing them can be also derived easily.
Now we can calculate the impermanent loss as a ratio between and . Positive values correspond in money lost and negative values to money gained.
For our simple backtest we will ignore fees, time decay, any rolling effects, etc. Therefore we can define the profit from a long position based on the current price , strike price and size .
Analog is the function for short positions.
In out strategy we will use a constant of the inital ETH deposit to simplify.
The total value of the portfolio with the correcting hedge position and corresponding impermanent loss is as follows.
Results
We will confirm the effetiveness of our strategy with several backtest simulating different market conditions. Please note that not all features have been implemented in the backtest. For example rebalancing has been left out.
The first backtest simulates a market with volatility of per tick. In this market we see that our strategy seems to work and hold the portfolio value around . The hedge significantly reduces max drawdown from to , improving worst-case losses, but it also increases return volatility, as seen in the higher standard deviation of IL. But the hedge is still statistically significant (p-value ≈ 0), confirming its impact.

The next backtest simulates a downwards drift in ETH price. LP suffers from significant impermanent loss ( mean IL) with high volatility ( std dev), while the hedged strategy not only mitigates but results in an overall gain ( mean IL). The hedge also reduces max drawdown considerably from to , suggesting better downside protection. But we see in the end even the hedge position suffers from loss. Here would rebalancing come into play, but this has not been implemented in this simulation.

Discussion
The backtests indicate the the proposed hedging strategy using Binance perpetual futures could effectively reduces impermanent loss for Uniswap V2 liquidity providers. We saw the hedge minimize maximum drawdowns, particularly in high-volatility and declining markets, and demonstrates statistically significant improvements.
Several key features are missing from the backtest, potentially affecting real-world performance. The model lacks a rebalancing mechanism, which is crucial for maintaining hedge effectiveness over time. It also does not account for trading costs, liquidity constraints, or funding rates, all of which could erode profits. Additionally, time decay and execution slippage are ignored, making the simulated results more optimistic than practical outcomes.
To enhance reliability, the strategy requires further risk management measures. Dynamic position sizing, stop-loss mechanisms, and optimized hedge execution timing could improve performance. A structured rebalancing approach, triggered by price thresholds or volatility changes, is essential to maintain hedge efficiency. While the results confirm the potential of perpetual futures for mitigating IL, further refinements and real-world testing are necessary before deploying the strategy in live markets.