๐ŸงฎTotal Returns

Before we derive the total return we must first state the formula for the value of the stake in the liquidity pool taking into account price variation and trading fees. That is combining the two formulas stated on Variation and Returns:

Vt=2Lโ‹…Rโ‹…eฮฑtV_t = 2L \cdot \sqrt{R}\cdot e^{\alpha t}

Now, to measure the return from t0t_0 to t1t_1, we would use the following formula:

R=V1โˆ’V0V0=2Lโ‹…R1โ‹…eฮฑโˆ’2Lโ‹…R02Lโ‹…R0R = \frac{V_1-V_0}{V_0}=\frac{2L \cdot \sqrt{R_1}\cdot e^{\alpha }-2L \cdot \sqrt{R_0}}{2L \cdot \sqrt{R_0}}

Which after simplification becomes:

R=p1p0โ‹…eฮฑโˆ’1R=\sqrt{\frac{p_1}{p_0}}\cdot e^\alpha-1

If we define PP as the price ratio of p at any tt from pp at t0t_0, then we can generalize the return formula as follows for any time tt

Rt=Ptโ‹…eฮฑย โ‹…tโˆ’1R_t = \sqrt{P_t} \cdot e^{\alphaย \cdot t}-1

We can now plot the graphs of the total returns of the liquidity providerโ€™s stake at different growth rates of the poolโ€™s reserves from trading fees as price varies.

Last updated