> For the complete documentation index, see [llms.txt](https://pangeaswap.gitbook.io/pangeaswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pangeaswap.gitbook.io/pangeaswap/en/developers/concept-overview/position-and-risk.md).

# Position & Risk

In the V2 DEX, liquidity providers all provide liquidity to the same price range (0 to infinity). However, in Pangea(V3 DEX), each liquidity provider provides liquidity to his own **price range**.

Therefore, a liquidity provider's liquidity position basically consists of a price range($$P\_l$$, $$P\_u$$) and liquidity($$L$$). And, as discussed in the previous chapter, based on the price at the time of liquidity provision, liquidity will be provided with Y tokens for lower price ranges and X tokens for higher price ranges.

![](/files/Ofn3pAhJciwmskMH40PW)

When the market price ($$P\_c$$) of the pool that is supplying liquidity changes, the proportion of assets in the liquidity position changes as shown below. If it goes outside a given price range, that liquidity is no longer available for trading, just like lazy liquidity, and yields no more swap fee income.

In addition, if the price range is set too narrow, the proportion of the asset in the position will change significantly even with a small price change. So liquidity providers should set the price range in consideration of the volatility of the asset they are providing.

![](https://lh5.googleusercontent.com/0CTYkidq_AU3qWzYZSrBQVc0zQwReVS9GHYSVEOliCBs2xaOwmU_KaC9pdpOvWkwlIfRMhGDHdURXb5YWZMo0yHS2Yr4-NUZGW5oCY0q8vVqzVeOwNsHRQlhhKPcGWt3fJXBLeHO8a9jut9mX6jaiw)

### Liquidity Provider’s Risk : IL(Impermanent Loss)

The liquidity provider of the CPAMM(Constant Product Automated Market Maker) DEX carries the risk of Impermanent Loss(IL). IL stands for “a decrease in the assets’ value that occurred because liquidity was provided to DEX compared to when they were just held without being provided to”. This occurs because, as the price changes from the pool price at the time of supplying liquidity, the proportion of tokens that have lost value in the liquidity position increases and the proportion of tokens that have risen in value decreases. IL can be calculated by [the formula](https://medium.com/auditless/impermanent-loss-in-uniswap-v3-6c7161d3b445) below.

$$
IL(k) = \frac{2\sqrt{k}-1-k}{1+k-\sqrt{\frac{P\_l}{P}} - k\sqrt{\frac{P}{P\_u}}}
$$

$$k$$ = change in price relative to price at the time of liquidity supply($$P = \frac{y}{x}$$). ($$P' = P\*k$$. where $$k>0$$)

IL increases as the price at the time of calculation($$P' = P\*k$$) moves away from the price at the time of liquidity supply($$P$$), and becomes 0 when it returns to the price at the time of liquidity supply.

Using the above formula, when different price ranges are set, the amount of IL that can occur as the price changes is as follows.

<table><thead><tr><th width="170">Position Price Range</th><th width="150">price = +10% (k = 1.1)</th><th width="150">price = +20% (k = 1.2)</th><th width="150">price = +50% (k = 1.5)</th><th>price = +100% (k = 2)</th></tr></thead><tbody><tr><td>Full Range</td><td>-0.113%</td><td>-0.414%</td><td>-2.02%</td><td>-5.719%</td></tr><tr><td>10% ~1,000%</td><td>-0.166%</td><td>-0.606%</td><td>-2.955%</td><td>-8.364%</td></tr><tr><td>25% ~ 400%</td><td>-0.227%</td><td>-0.828%</td><td>-4.041%</td><td>-11.438%</td></tr><tr><td>50% ~ 200%</td><td>-0.387%</td><td>-1.414%</td><td>-6.898%</td><td>-19.526%</td></tr><tr><td>90% ~ 111%</td><td>-2.211%</td><td>-6.632%</td><td>-17.836%</td><td>-31.530%</td></tr><tr><td>95% ~ 105%</td><td>-3.525%</td><td>-7.910%</td><td>-18.961%</td><td>-32.467%</td></tr></tbody></table>

As above, as the Concentration Ratio increases by concentrating liquidity more, the amount of IL that can occur when the price changes also increases. In other words, the higher the rate of return by raising the Concentration Ratio, the more IL you have to risk.

Therefore, liquidity providers should set up different strategies depending on the nature of the token pairs they supply. The optimal strategy for stable coin pairs with little price fluctuation might be aiming for high returns by raising the Concentration Ratio as much as possible, whereas the one for recently listed coin pairs might be with low Concentration Ratio to cope with the expected high price volatility.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://pangeaswap.gitbook.io/pangeaswap/en/developers/concept-overview/position-and-risk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
