Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
niccoloraspa committed Aug 7, 2024
1 parent 38e6b34 commit f3a8df6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/sumtree-orderbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ $adjustedPrice = {price * 10^{quoteDecimals - baseDecimals}}$

For example when placing an order on a WBTC/USDC orderbook there is a difference of 2 decimal places so the calculation would be at a price of $64,000 would be:

$adjustPrice = {64000 * 10^{6 - 2}} = 64000 / 100 = 640$
$adjustPrice = {64000 * 10^{6 - 8}} = 64000 / 100 = 640$
$adjustPrice = {64000 * 10^{6 - 8}} = 64000 / 100 = 640$

So the order would be placed on the tick that represents the price of 640.

Expand Down

0 comments on commit f3a8df6

Please sign in to comment.