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

Add exact liquidation price #2332

Merged
merged 4 commits into from
May 11, 2023
Merged

Conversation

Tburm
Copy link
Contributor

@Tburm Tburm commented May 11, 2023

No description provided.

@Tburm Tburm requested a review from avclarke May 11, 2023 21:05
@vercel
Copy link

vercel bot commented May 11, 2023

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

Name Status Preview Updated (UTC)
kwenta ✅ Ready (Inspect) Visit Preview May 11, 2023 10:40pm
kwenta-storybook ✅ Ready (Inspect) Visit Preview May 11, 2023 10:40pm

@platschi platschi merged commit c5e2af1 into fix/trade-preview May 11, 2023
platschi pushed a commit that referenced this pull request May 11, 2023
* Fix trade preview values

* Use fees calculated from preview

* Use skew adjusted price for trade previews

* Clean up

* fix: add exact liquidation price (#2332)

* add exact liquidation price

* remove async

* prevent trades

* fix short positions

---------

Co-authored-by: troyb.eth <me@troyb.xyz>
@avclarke avclarke deleted the fix/exact-liquidation branch June 12, 2023 17:50
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.

3 participants