OmegaSyndicate / dex-interface

0 stars 0 forks source link

Improve visibility of price impact #1

Closed trebel-defiplaza closed 2 years ago

trebel-defiplaza commented 3 years ago

Currently we show the price impact in green, orange and red. It is small, but when red clearly visible, but it might not really show the real and huge impact it if the price impact.

Screenshot 2021-10-28 at 17 29 29

UniSwap includes the dollar price and makes very visible what you are a bout to do: Swap 20k and get 1350 in return.

Screenshot 2021-10-28 at 17 30 33

Uni's setup might make it easier for users to understand the impact of the transaction they are about to perform.

trebel-defiplaza commented 3 years ago

Add-on: Use CoinGekko API to determine market prices and not the price impact of the single transaction

trebel-defiplaza commented 3 years ago

Working for swaps, but need to add extra functionality for Liquidity and Staking, since XDP2 is not available on CoinGecko yet

Screenshot 2021-11-12 at 18 32 44