Monitor DEX liquidity pool depth, track liquidity changes, calculate LP yield, and estimate impermanent loss.
Real-time DEX liquidity pool monitoring with impermanent loss calculation and LP yield estimation.
bash scripts/liquidity-monitor.sh monitor \
--dex uniswap-v2 \
--pair "ETH/USDC" \
--chain ethereum
bash scripts/liquidity-monitor.sh impermanent-loss \
--token-a ETH \
--token-b USDC \
--entry-price 3000 \
--current-price 4500
bash scripts/liquidity-monitor.sh yield \
--pool-address "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc" \
--amount 10000 \
--period 30
bash scripts/liquidity-monitor.sh health \
--dex raydium \
--pair "SOL/USDC" \
--chain solana
bash scripts/liquidity-monitor.sh dashboard \
--pools-file my-pools.json \
--output liquidity-dashboard.html
EVM Chains:
Solana:
| Price Change | IL (50/50 Pool) | Equivalent Loss |
|---|---|---|
| ±25% | 0.6% | $6 per $1,000 |
| ±50% | 2.0% | $20 per $1,000 |
| ±75% | 3.8% | $38 per $1,000 |
| ±100% (2x) | 5.7% | $57 per $1,000 |
| ±200% (3x) | 13.4% | $134 per $1,000 |
| ±400% (5x) | 25.5% | $255 per $1,000 |
| Factor | Weight | Description |
|---|---|---|
| TVL Stability | 25% | How stable is the TVL over 7 days |
| Volume/TVL Ratio | 20% | Higher ratio = better fee generation |
| LP Count | 15% | More LPs = less concentration risk |
| Age | 15% | Older pools are generally safer |
| Top LP % | 15% | Lower concentration = better |
| Smart Contract Audit | 10% | Known audited DEX protocols score higher |
ZIP package — ready to use