frontend-monorepo icon indicating copy to clipboard operation
frontend-monorepo copied to clipboard

Improvements to price monitoring bounds

Open JonRay15 opened this issue 10 months ago • 1 comments

The Chore

There's a few improvements consolidated into here.

Acceptance criteria

Showing bound status

Currently Console is pulling in price monitoring boudns from the market data API. The issue we have is that when those bounds are triggered that API no longer shows the bounds that have been triggered.

There is a core ticket here to try to just get the market data API uplifted to include all bounds even if triggered.

https://github.com/vegaprotocol/vega/issues/11196

Now that the new API has been delivered there is now a flag on the bound showing a boolean for active.

  • [ ] Remove the "99.9999% within 6m" and replace with a status of "Active" or "Triggered" based on the boolean above
  • [ ] If triggered display it with the hammer auction icon each side of the word to emphasise it
  • [ ] Change the values at each end of the bound so that intead of price / USDT across two lines we now do:
    • [ ] First line Price and percentage change ie. 63,546 (+14%)
    • [ ] Second line CCY ie. USDT

Sketches

Current bound in explorer / accordion

image

JonRay15 avatar Apr 23 '24 15:04 JonRay15