Calculate Uniswap V2/V3 Concentrated Liquidity Impermanent Loss & Fee Break-Even
calculate_concentrated_lp_impermanent_lossComputes exact V2 full-range and V3 concentrated-liquidity impermanent loss (% and USD) vs HODL and calculates exact days of swap fee APR needed to break even.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_concentrated_lp_impermanent_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depositUsd | No | Total LP deposit value in USD (default 5000) | |
| poolFeeAprPct | No | Estimated pool swap fee APR % (default 28) | |
| priceChangePct | No | Asset relative price change % (e.g. 35 or -30) | |
| concentrationFactor | No | 1.0 for V2 full-range, 2.0-5.0 for concentrated V3 range |