Summary
The spot price can be manipulated by a single large trade. Displaying the TWAP price alongside the spot price on the key detail page would give buyers a more reliable price reference before committing to a purchase.
Scope
- Fetch the TWAP price from GET /keys/:keyId/twap?window=24h on key detail page load
- Display the TWAP price below the spot price with a label 'TWAP (24h)'
- Show a tooltip explaining: 'Time-weighted average price over the past 24 hours. Less sensitive to short-term manipulation.'
- Colour the TWAP label green if the spot price is above TWAP and red if below
- Show a loading skeleton for the TWAP value while it fetches
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The spot price can be manipulated by a single large trade. Displaying the TWAP price alongside the spot price on the key detail page would give buyers a more reliable price reference before committing to a purchase.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram