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

Margin Protocol: Update Traders Stop Out Process #162

Closed
shaunxw opened this issue Apr 6, 2020 · 1 comment · Fixed by #166
Closed

Margin Protocol: Update Traders Stop Out Process #162

shaunxw opened this issue Apr 6, 2020 · 1 comment · Fixed by #166
Assignees

Comments

@shaunxw
Copy link
Member

shaunxw commented Apr 6, 2020

While stopping out a trader, their positions are closed one by one gradually until the risk is gone, instead of close all at once.

@shaunxw shaunxw changed the title Update traders stop out Margin Protocol: Update Traders Stop Out Process Apr 6, 2020
@shaunxw
Copy link
Member Author

shaunxw commented Apr 6, 2020

Without orders feature #163 in margin protocol at this stage, the process of stopping out a trader would be:

  1. Close the position with the largest loss.
  2. Repeat step 1 until stop out risk gone, or all positions of this trader has been closed.

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 a pull request may close this issue.

1 participant