Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 3858d0a

Browse files
authored
fixed formula to match referenced doc [1] + formatting (#1474)
`P_{margin}=iRP` didn't make sense, as P isn't defined, and i is already defined as the price (from the oracle). the references doc contains `P_{margin}=iR`, so I assume this is a typo.
1 parent bec876d commit 3858d0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

token-swap/proposals/ProactiveMarketMaking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ As a part of PR please implement as described in [[1](https://dodoex.github.io/d
99

1010
For reference pricing formula is:
1111

12-
<img src="https://render.githubusercontent.com/render/math?math=P_{margin}=iRP">
12+
<img src="https://render.githubusercontent.com/render/math?math=P_{margin}=iR">
1313

1414
Where <img src="https://render.githubusercontent.com/render/math?math=R"> is defined to be the piecewise function below:
1515

@@ -23,7 +23,7 @@ Where <img src="https://render.githubusercontent.com/render/math?math=R"> is def
2323

2424
The funding pool of PMM is described by four parameters:
2525

26-
<img src="https://render.githubusercontent.com/render/math?math=B_0">: base token regression target - total number of base tokens deposited by liquidity providers
27-
<img src="https://render.githubusercontent.com/render/math?math=Q_0">: quote token regression target - total number of quote tokens deposited by liquidity providers
28-
<img src="https://render.githubusercontent.com/render/math?math=B">: base token balance - number of base tokens currently in the pool
29-
<img src="https://render.githubusercontent.com/render/math?math=Q">: quote token balance - number of quote tokens currently in the pool
26+
- <img src="https://render.githubusercontent.com/render/math?math=B_0">: base token regression target - total number of base tokens deposited by liquidity providers
27+
- <img src="https://render.githubusercontent.com/render/math?math=Q_0">: quote token regression target - total number of quote tokens deposited by liquidity providers
28+
- <img src="https://render.githubusercontent.com/render/math?math=B">: base token balance - number of base tokens currently in the pool
29+
- <img src="https://render.githubusercontent.com/render/math?math=Q">: quote token balance - number of quote tokens currently in the pool

0 commit comments

Comments
 (0)