Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: distance to market #5307

Open
wants to merge 4 commits into
base: feat/limit-ui-upgrade-2
Choose a base branch
from

Conversation

alfetopito
Copy link
Collaborator

@alfetopito alfetopito commented Jan 17, 2025

Summary

  • Invert distance to market percentage when price display is inverted
  • Be more explicit in the tooltip, by adding the mentioned market price and execution prices
    image
    image
  • Reduce re-renderings by memoizing Price instances

To Test

  1. On limit orders table, observe fills at/distance to market column

@alfetopito alfetopito self-assigned this Jan 17, 2025
Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:02am
cowfi ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:02am
explorer-dev ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:02am
sdk-tools ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:02am
swap-dev ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:02am
widget-configurator ✅ Ready (Inspect) Visit Preview Jan 17, 2025 11:02am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant