diff --git a/README.md b/README.md index 323e370..dad6048 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,12 @@ formulas without orderbook matching (Liquidity Pool Model only) ```math Price = \frac{Target Coin Pool Amount \times (1 - Pool Fee)}{Source Coin Pool Amount + 2 \times Source Coin Amount} ``` - +[//]: # () ```math Target Coin Amount = \frac{Source Coin Amount \times Target Coin Pool Amount \times (1 - Pool Fee)}{Source Coin Pool Amount + 2 \times Source Coin Amount} ``` - - +[//]: # () where _Pool Fee = 0.003_ as most common value @@ -42,14 +41,12 @@ where _Pool Fee = 0.003_ as most common value ```math Price = \frac{Target Coin Pool Amount \times (1 - Pool Fee)}{Source Coin Pool Amount + (1 - Pool Fee) \times Source Coin Amount} \times \frac{Source Coin Pool Weight}{Target Coin Pool Weight} ``` - - +[//]: # () ```math Target Coin Amount = \frac{Source Coin Amount \times Target Coin Pool Amount \times (1 - Pool Fee)}{Source Coin Pool Amount + (1 - Pool Fee) \times Source Coin Amount} \times \frac{Source Coin Pool Weight}{Target Coin Pool Weight} ``` - - +[//]: # () ### Analytics