Skip to main content

Target Weights

The charts below demonstrate various quantities that drive the price impact of an asset as a function of deposit amounts (x-axis) for a given target weight that can be adjusted with the slider below. The pool is set up initially with the following state:

  • LP token scale: s0=5s_0=5
  • Asset scale: si=1s_i=1 so the initial weight is 20%
  • Asset reserve: αi=1\alpha_i=1

When x=0x=0, it means no deposit is made yet and the initial weight of the asset is 20%. When x>0x > 0, it means the asset is being deposited into the pool. When x<0x < 0, it means the asset is being withdrawn from the pool. The target weight is set initially to 20% so the asset is precisely at its target weight.

Target Deposit: 0.00
-1.00-0.500.000.501.001.502.00-1.0-0.50.00.51.01.52.02.53.03.54.0Price Impact Factor-1.00-0.500.000.501.001.502.00-1.0-0.50.00.51.01.52.02.53.03.54.0Price Impact-1.00-0.500.000.501.001.502.00-1.0-0.50.00.51.01.52.02.53.03.54.0Value Flow-1.00-0.500.000.501.001.502.00-1.0-0.50.00.51.01.52.02.53.03.54.0Change in Scale