Skip to content

Conversation

@abitmore
Copy link

@abitmore abitmore commented Aug 1, 2022

No description provided.

# b) a lot of "exceeded" funds on the current side which will be used to upsize orders deep down
# in the order book later, which makes the situation worse and harder to recover.
# Using the 2nd closest opposite order mitigates the problem.
# Ideally still need logic to check whether the closest own order is partial and upsize it if so.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not easy to check and can not always upsize, especially when orders on one side are significantly larger.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done writing some code. Testing locally.

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 this pull request may close these issues.

1 participant