Uniswap v2 & v3 · backtested against real pool history
Would the pool have beaten holding?
Paste a Uniswap pool link, pick the day you would have entered, and see what actually happened: fees collected in each token, impermanent loss carried, how long a concentrated range would have sat idle, and the range that would have paid best.
1 · Load a pool
Pool data and daily price history come from GeckoTerminal. Paste a link from app.uniswap.org/explore/pools/… or a bare pool address.
Full-range pool vs. holding—
Pool + fees—
If you'd held—
Fees earned—
3 · Full range vs. your range vs. holding
Strategy
Fees A
Fees B
Fees value
Position
Total
vs hold
4 · Price history and your range
In range Out of range — earning nothing Your range
5 · Best range in hindsight
Best range—
Price band—
Time in range—
Total value—
vs holding—
This is the range that would have paid best given what already happened. It is not a recommendation — picking it going forward means betting the next period looks like the last one, which is exactly the assumption that liquidates concentrated positions. Treat it as a sense of how much range selection mattered here, not as a setting to copy.
What this assumes
Fees use each day's real pool volume × the fee tier × your share, accumulated day by day and credited half in each token at that day's prices. Pool TVL is held at today's value across the whole period, since historical TVL isn't available from this data source.
Concentrated positions use the exact Uniswap v3 position formulas for value at exit. Fee earnings are boosted by the capital-efficiency multiplier for your range and are earned only on days the price closed inside it. Daily closes decide in-range status, so intraday excursions are missed.
The concentration multiplier is an upper bound. It compares your range against a full-range position, but the other LPs in the pool are concentrated too, and the pool's reported TVL already reflects that. Real concentrated returns will be lower than shown. The comparison between ranges stays meaningful even though the absolute level is optimistic.
No rebalancing. A real v3 LP would likely re-range after going out. This models a set-and-forget position.
Not included: gas, slippage, fee compounding, liquidity mining rewards, taxes.
Backward-looking estimates. Past pool behaviour predicts very little. Not financial advice.