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

[derivatives] create counter position when a position is created by a trader #451

Closed
taiki1frsh opened this issue Mar 22, 2023 · 1 comment · Fixed by #503
Closed

[derivatives] create counter position when a position is created by a trader #451

taiki1frsh opened this issue Mar 22, 2023 · 1 comment · Fixed by #503
Labels
bug Something isn't working

Comments

@taiki1frsh
Copy link
Collaborator

taiki1frsh commented Mar 22, 2023

This may be able to be achieved by allocating corresponding pool assets for each position (more technically, Lock that corresponding asset).

This is needed by the protocol design itself.
But, nowhere I can see the implementation of this at this moment.

@taiki1frsh taiki1frsh added the bug Something isn't working label Mar 22, 2023
@kimurayu45z
Copy link
Contributor

  1. If pool can't pay reward to the trader, rewards will not paid
  2. If trader got losses over margin, pool will give it up.

For 1., FE side must show the alert when pool might not be able to pay reward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants