Calculation guide
Equal starting values in a two-token pool, frictionless rebalancing to the final relative price, no fees or rewards. Quote token value is constant in the chosen currency.
Inputs
Initial total pool position value
Example entry 1000 (in the selected currency).
Initial relative token price
Example entry 100.
Final relative token price
Example entry 400.
Worked example
| Input | Value |
|---|---|
| Initial total pool position value | 1,000 |
| Initial relative token price | 100 |
| Final relative token price | 400 |
| Result | Value |
|---|---|
| Loss · Compared with holding | -20% |
| Final pool value | 2,000 |
| Final buy-and-hold value | 2,500 |
Calculation steps
Pool return relative to holding = (100 × (((2 × √((Final relative token price ÷ Initial relative token price))) ÷ (1 + (Final relative token price ÷ Initial relative token price))) − 1))
(100 × (((2 × √((400 ÷ 100))) ÷ (1 + (400 ÷ 100))) − 1)) = -20%
Final pool value = (Initial total pool position value × √((Final relative token price ÷ Initial relative token price)))
(1,000 × √((400 ÷ 100))) = 2,000
Final buy-and-hold value = ((Initial total pool position value × (1 + (Final relative token price ÷ Initial relative token price))) ÷ 2)
((1,000 × (1 + (400 ÷ 100))) ÷ 2) = 2,500
How each input affects this example
Each row starts from the worked example and changes one input.
| Input | Original input | New input | Affected result | Original result | New result |
|---|---|---|---|---|---|
| Initial total pool position value | 1,000 | 1,100 | Final pool value | 2,000 | 2,200 |
| Initial relative token price | 100 | 110 | Loss · Compared with holding | -20% | -17.740482% |
| Final relative token price | 400 | 440 | Loss · Compared with holding | -20% | -22.310456% |
