This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Impermanent Loss Auto-Hedge Trigger

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Impermanent Loss Auto-Hedge Trigger is your IL protection tool that monitors and alerts you when impermanent loss threatens your liquidity positions. It watches DEX liquidity pool pages and position management interfaces, detecting your active positions, current price, and position boundaries. The tool calculates estimated impermanent loss based on price movement from your entry point, monitors IL against configurable thresholds, displays IL metrics with real-time tracking and visual indicators (Safe/Warning/Danger), triggers alerts when IL exceeds user-defined thresholds, provides one-click hedge recommendations with estimated costs, and tracks IL history and hedge effectiveness.

WHERE IT RUNS

This script runs on all major DEX interfaces including Uniswap (app.uniswap.org), SushiSwap (app.sushi.com), Curve (curve.fi), Balancer (balancer.fi), 1inch (1inch.io), CowSwap (cow.fi), and major NFT marketplaces including OpenSea (opensea.io), Blur (blur.io), and LooksRare (looksrare.org). It works on liquidity pool pages, position management interfaces, and any page displaying position data with entry and current prices.

HOW TO USE

Install the script through the BotGentz userscript manager. Click "Connect Wallet" to link your EVM wallet extension for gas price queries. Navigate to a liquidity pool page where you have an active position. The tool automatically detects your position data and calculates impermanent loss. The panel displays the IL percentage, value, price ratio, and a visual status indicator—SAFE (green), WARNING (yellow), or DANGER (red). Configure your IL threshold in settings (default 5%). When IL exceeds the threshold, you receive a browser notification. The tool provides hedge recommendations with estimated gas costs and suggested hedge sizes. Click "Monitor Position" to manually trigger analysis or enable auto-monitoring for continuous tracking.

IMPERMANENT LOSS CALCULATION ENGINE WITH THRESHOLD-BASED ALERT SYSTEM

Unlike simple position viewers that only show current value, this tool implements a comprehensive IL calculation engine that tracks impermanent loss in real-time using the standard formula: IL = (2 × √(priceRatio)) / (1 + priceRatio) - 1, where priceRatio = currentPrice / entryPrice. The engine detects entry price and current price from the page, along with position size, then computes both the percentage IL and the absolute value in ETH. The threshold-based alert system monitors IL against user-defined thresholds (default 5%), triggering notifications when IL enters Warning (1-2× threshold) or Danger (>2× threshold) zones. The hedge recommendation engine evaluates IL severity and position size to suggest hedge actions (None/Consider/Hedge) with specific hedge sizes and estimated gas costs. All IL data is tracked historically, allowing users to review IL patterns and hedge effectiveness over time.

THE PANEL

The floating panel is fully draggable and snap-to-edge enabled. You can collapse it to a compact bubble when not in use, resize it to your preferred dimensions, and it remembers its position across page loads using persistent storage. Press Escape to quickly dismiss the panel. The panel displays IL percentage and value, price ratio, status indicator, position details, hedge recommendations with costs, and IL tracking history.

PLEASE NOTE

This script requires the free BotGentz extension to be installed in your browser—it does not run as a standalone extension. You also need a real EVM wallet extension already installed and configured for gas price queries. The tool cannot access historical price data beyond what is displayed on the page and relies on the page exposing position data in a detectable format. IL calculations are estimates based on available data and cannot account for fees earned. No user data is collected or transmitted—all IL history stays local in your browser storage. The tool provides IL monitoring assistance but does not guarantee hedge effectiveness or financial outcomes.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.