October 2026
Pool Lens
Providing liquidity looks simple until you try to work out whether a position actually made money. The APR a dashboard shows you isn't the APR you keep - there's the protocol's cut of the swap fee, impermanent loss against just holding, the slippage getting in and out, and emissions that may or may not be worth anything. I wanted one place to paste a pool link and see all of it.
Pool Lens resolves a pasted URL to a chain and pool address, pulls live data from two free public APIs, and runs the analysis client-side. It works out the swap fee per DEX and how much of it the LP actually keeps, replays a chosen range against real daily bars to backtest it, models the constant-product curve for quotes and slippage so you can see entry and exit cost before committing, and ranks strategies with the exact levels to watch. There's a farm screener covering single- and dual-sided positions, an emissions panel that splits out what's real yield versus token emissions, and a book view showing every saved position at once with concentration and urgency ranking.
The piece I'm happiest with is the sensitivity panel. The whole position is expressed as one closed-form model built specifically to be perturbed, so you can push any input and watch the outcome move - and a formula catalogue shows the actual maths with your live numbers substituted in, rather than asking you to trust a black box.
The install is the part people don't believe: open index.html in a browser. No server, no build step, no API keys, no dependencies. Everything runs client-side.
Stack:
- —Vanilla JS, no framework - zero build step, opens from the filesystem
- —GeckoTerminal + DexScreener - pool resolution and live market data
- —DefiLlama - yields, emissions split, single/dual exposure
- —Constant-product maths - quotes, slippage, entry/exit cost, closed-form position model
- —Backtest engine - range replay against real daily bars
- —Vercel serverless - natural-language filter box for the screener
- —GitHub Actions - scheduled alert checks
Tech Stack