Polkadex-Substrate / Polkadex-Open-Beta

12 stars 3 forks source link

Orderbook buy/sell wall, sum in quote price is incorrect #463

Closed zeshanjum closed 1 year ago

zeshanjum commented 1 year ago

By raising this issue, I agree to the terms and conditions presented by Polkadex here:Terms and Conditions

Description

As you can see, other than one or two entries the sum of quote price is incorrect deep down the sell/buy wall.

Screenshot 2023-03-03 233742

onchainaddress:{esrFTmBAFR1vzbTtqoCbj453geXZAnMLRKRrHorLmxVpsc8UR}

jaymansfield commented 1 year ago

The numbers look correct.. you need to take into consideration its cumulative.

For example on the buy table: 1.93 68.1 = 131.433 (1.89 100) + 131.433 = 320.4333 (1.88 * 100) + 320.4333 = 508.4333