bancorprotocol / carbon-app

https://app.carbondefi.xyz
MIT License
23 stars 14 forks source link

[Overlapping] Graph should display the calculated values of the order & external market price #1320

Closed GrandSchtroumpf closed 2 weeks ago

GrandSchtroumpf commented 3 weeks ago

Currently the graph displays the market price used for the calculation, while it should display the external market price if used.

  1. Display user market price if defined
  2. Display external market price if defined
  3. Else display calculated market price

The marginal prices should reflect the marginal price the user will get when he click on the CTA