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

Add a function that changes sourceAmount to 0 for the last trade per TKN #122

Merged

Conversation

Lesigh-3100
Copy link
Collaborator

This change ensures that if we receive more tokens from a trade than expected, they are all used in a subsequent trade.

@Lesigh-3100 Lesigh-3100 added the enhancement New feature or request label Sep 13, 2023
@Lesigh-3100 Lesigh-3100 self-assigned this Sep 13, 2023
@Lesigh-3100 Lesigh-3100 linked an issue Sep 13, 2023 that may be closed by this pull request
@mikewcasale mikewcasale merged commit 8d42b9d into main Sep 14, 2023
3 checks passed
@mikewcasale mikewcasale deleted the 121-always-submit-max-amountin-for-last-trade-per-tkn branch September 14, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Always submit max amountIn for last trade per-tkn
3 participants