Skip to content

Conversation

@0xbigz
Copy link
Member

@0xbigz 0xbigz commented Dec 11, 2024

No description provided.

.amm
.quote_asset_reserve
.safe_sub(quote_asset_reserve_delta.unsigned_abs())?
.max(1)
Copy link
Member

Choose a reason for hiding this comment

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

dont need max/min in the other branch?

Copy link
Member Author

@0xbigz 0xbigz Dec 12, 2024

Choose a reason for hiding this comment

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

i think the way the spread math works, you just need to bound for percentage spread on shorts

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.

3 participants