-
Notifications
You must be signed in to change notification settings - Fork 154
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
Cross margin futures initial setup #1139
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e0f934e
to
5bde0c1
Compare
5bde0c1
to
2133609
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing worked as expected, allowing me to deposit to cross margin and open positions using all of my free margin against a market. Trade and transfer history also look accurate depending on the selected account.
I am approving even though I'm leaving a few comments where we can improve and fix some bugs. As long as these are documented in issues I see no reason why we should block merging and continue making improvements.
Thanks for the review @Tburm I've addresses a few of the things and left comments about what we can leave until updating the trade panel. |
Description
Add support for cross margin future accounts
Related issue
https://github.com/Kwenta/kwenta-private/issues/357
Motivation and Context
Initial setup and refactor of futures components to allow for users to use their cross margin account as well as isolated margin account for futures trades.
Current functionality
Missing functionality