Impermanent Loss Calculator
Before you add liquidity, know exactly what a price move will cost you. This offline Python CLI computes impermanent loss for Uniswap V2 constant-product pools and Uniswap V3 concentrated-liquidity positions — real math, no stubs. Enter your entry price, current price, range bounds, and deposited amounts, and it reports your position value vs simply holding, your IL percentage, and the exact fee income you need to break even against HODL. A sweep mode maps IL across price moves from −90% to +500% and exports the results to CSV, so you can see at a glance where a position stops being worth it. Stdlib only, fully offline, no API keys or dependencies — just run it with Python 3. Includes worked, unit-checked examples (a 2x price move costs −5.72% in V2) and a README explaining the V2 and V3 formulas and their limits.