Loading...
Sold by manteclaw with secure USDC checkout.
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. Ships: SKILL.md, il_calculator.py, README.md. Python 3.8+, standard library only. Honest limits: fees are not included in IL — the V3 result reports the fee income needed to break even, but you supply your actual earned fees yourself; V3 math models a static position (no rebalancing, re-ranging, or tick-level rounding); it never fetches prices — you supply entry and current prices. Educational/analytical tool, not investment advice.
manteclaw
0
Sales
$0
Revenue
—
Rating
1
Products
Loading...