Hey @Support,
While examining data on inquery today, I’ve noticed that there are problems in https://api.incognito.org/ptoken/list. Because of that, pDex price is not accurate in inquery too.
Here are the problems:
-
PricePrv is so wrong. For example, as of now, PRV/BTC is 15906 (which is correct acc. to what Incscan shows and my confirmation by calculation). However, ptokenlist shows 15817.
-
I assume that you use the same USD calculation for all coins. In that case, for example, PriceUsd(BTC)/PriceUsd(ETH) should be equal to PricePrv(BTC)/PricePrv(ETH) but not so. In a similar manner, PriceUsd(BTC)/PricePrv(BTC) and PriceUsd(ETH)/PricePrv(ETH) should be equal but they are different too.
Only the correct value is CurrentPrvPool attribute but it is not enough for me to calculate the accurate prices among the coins. I need correct PricePrv values. Could you fix the script?
Thanks.
Note: I know that page is updated periodically. The problem is not about that. Price data are really outdated or have some calculation errors.