-
Notifications
You must be signed in to change notification settings - Fork 73
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
chore(isolatedMargin): update account info #910
chore(isolatedMargin): update account info #910
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Why is equity going down when you are purchasing ETH? Why do we show equity when it should stay the same when you buy/sell? |
ah good point, hm currently it's going down because we're just looking at
related to above, we should probably not show a diff at all (it should just stay the same) - wil double check with se and then make the change! |
On Portfolio Page:
Cross Free Collateral
→Available Balance
On Account Info Panel (Trade Page):
Cross Margin Usage
withPortfolio Value
Cross Free Collateral
->Available Balance
and add cross margin icon next to it (with tooltip of “Percentage of your total cross margin used by open positions.”)Views
portfolio/AccountDetailsAndHistory
Free Collateral
toAvailable Balance
and update variable namesAccountInfo/AccountInfoConnectedState
MarginUsage
->PortfolioValue
andBuyingPower
->AvailableBalance
hasDiff
logic to checkportfolioValue
andavailableBalance
PortfolioValue
andAvailableBalance
to check if they're negativecrossMargin
icon to be next to available balance with tooltip around it