-
Notifications
You must be signed in to change notification settings - Fork 22
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
[Bug]: Wrong collateralIncreaseEstimate for limit orders in isolated margin mode #10928
Comments
Issue is fixed, the problem is that it's not part of any tag yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem encountered
When there is remaining limit order and collateral on orderMarginAccountBalance and user will try to place limit order in opposite direction collateralIncreaseEstimate is wrongly calculated.
Before placing order - additional margin required is 5.00

After placing order - no additional collateral was needed

Observed behaviour
Sum of pending orders is used to calculate collateral increase
Expected behaviour
Maximal risk exposure should be used to calculate collateral increase
Steps to reproduce
Software version
v0.75.0-preview.8
Failing test
No response
Jenkins run
No response
Configuration used
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: