Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

New Increase_position IX #15

Open
wants to merge 5 commits into
base: adx
Choose a base branch
from
Open

New Increase_position IX #15

wants to merge 5 commits into from

Conversation

Adrena-Corto
Copy link

  • can only be used for the same Side and Collateral
  • untested

started by adding it in increase_position (as in askibin/perpetuals#22)
Then did it in open position.

But each time having branching conditional code with init_if_needed made it all not worth it imo

- does not resilve unrealized profit/loss
- kept collected fee on open position
- can only be used for the same Side and Collateral
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant