lp-analyst

Analyze Uniswap LP positions to quantify impermanent loss, fee revenue, and optimal concentration ranges.

120|12|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ccashwell/evm-cortex --skill lp-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lp-analyst
Source: https://github.com/ccashwell/evm-cortex/tree/main/skills/lp-analyst
Command: npx skills add https://github.com/ccashwell/evm-cortex --skill lp-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LP analysts struggle to quantify impermanent loss, predict fee revenue, and optimize concentrated positions across Uniswap v3/v4, leading to suboptimal ranges and inconsistent returns.

Core Features & Use Cases

  • Impermanent Loss math for V2 and concentrated V3/V4 positions to understand risk/return dynamics
  • Fee revenue estimation and APR calculations based on pool activity and liquidity share
  • Position value assessment and token amount calculations from liquidity using tick math
  • Range optimization guidance and rebalance heuristics to maximize capital efficiency
  • On-chain position reading for V3 NonfungiblePositionManager and V4 PositionManager to surface key metrics

Quick Start

Analyze a sample LP position to estimate IL, project fees, and identify an optimal concentration range

Frequently Asked Questions about lp-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate impermanent loss for concentrated Uniswap V3 liquidity positions?

Impermanent loss for concentrated Uniswap V3 positions is quantified by applying liquidity formulas and tick math to assess position value divergence against held tokens. This analysis isolates IL exposure specific to your selected price ranges.

What's the best way to optimize Uniswap LP concentration ranges for fee revenue?

Optimizing Uniswap LP concentration ranges involves analyzing pool activity, current liquidity share, and fee accrual mechanics to project APR. This provides rebalance heuristics and range optimization guidance to maximize capital efficiency.

Can I read on-chain token amounts for my Uniswap V4 position using tick math?

Yes, on-chain V3 NonfungiblePositionManager and V4 PositionManager data can be read to surface key metrics. Position value assessment and exact token amounts are computed directly from liquidity using tick math.

Does this LP analysis approach work for both Uniswap V2 and V3 pools?

This LP analysis supports both V2 and concentrated V3/V4 positions across major DeFi pools. It applies specialized impermanent loss math to compare risk and return dynamics between standard and concentrated liquidity.

When should I rebalance my Uniswap V3 concentrated liquidity position?

Rebalance Uniswap V3 concentrated liquidity positions when projected fee revenue no longer offsets impermanent loss exposure. Range optimization heuristics evaluate pool activity and liquidity share to signal optimal timing.