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

feat: normalised price values against USD for limit orders #3316

Merged
merged 4 commits into from
Jun 12, 2024

Conversation

crnbarr93
Copy link
Contributor

What is the purpose of the change:

Previous calculations when placing a limit order assumed the quote asset to be a stablecoin. These changes are to adjust for the current quote asset's fiat price for the case where the quote asset is not a stablecoin.

Linear Task

LIM-109: Adjust Limited Order to Account for Quote Asset Price

Brief Changelog

  • Adjusted usePlaceLimit calculations to account for quoteAssetPrice (the current fiat value of the quote denom)

Copy link

vercel bot commented Jun 11, 2024

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

Name Status Preview Comments Updated (UTC)
osmosis-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 8:20am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
osmosis-frontend-datadog ⬜️ Ignored (Inspect) Visit Preview Jun 12, 2024 8:20am
osmosis-frontend-dev ⬜️ Ignored (Inspect) Visit Preview Jun 12, 2024 8:20am
osmosis-frontend-edgenet ⬜️ Ignored (Inspect) Jun 12, 2024 8:20am
osmosis-testnet ⬜️ Ignored (Inspect) Visit Preview Jun 12, 2024 8:20am

Base automatically changed from connor/review-order to connor/place-limit June 12, 2024 08:08
@crnbarr93 crnbarr93 merged commit c559822 into connor/place-limit Jun 12, 2024
22 of 24 checks passed
@crnbarr93 crnbarr93 deleted the connor/normalize-limit-price branch June 12, 2024 08:08
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.

2 participants