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

Dust sweeper feature implementation #268

Merged
merged 1 commit into from
Nov 3, 2022
Merged

Dust sweeper feature implementation #268

merged 1 commit into from
Nov 3, 2022

Conversation

sjanel
Copy link
Owner

@sjanel sjanel commented Mar 6, 2022

When user defines a threshold amount on a given currency, coincenter can be used to attempt to sell all amount below this threshold trying to reach exactly 0 amount on this currency for clean balance.
The algorithm used by coincenter is a simple heuristic:

  • it finds the best markets involving currency to be sold
  • it tries to sell all immediately.
  • if full selling is not possible, it buys a small amount of this currency
  • retry until either maximum number of steps (configurable) is reached or balance is exactly 0 on given currency

@sjanel sjanel added the enhancement New feature or request label Mar 6, 2022
@sjanel sjanel marked this pull request as draft March 6, 2022 21:53
@sjanel sjanel linked an issue Mar 6, 2022 that may be closed by this pull request
@sjanel sjanel force-pushed the feature/dustsweeper branch 3 times, most recently from c71b8fd to 245dd1b Compare March 19, 2022 15:07
@sjanel sjanel force-pushed the feature/dustsweeper branch 3 times, most recently from 9905c58 to c8955fd Compare June 6, 2022 20:01
@sjanel sjanel force-pushed the feature/dustsweeper branch 2 times, most recently from 18328d1 to 2635ec0 Compare July 9, 2022 18:25
@sjanel sjanel force-pushed the feature/dustsweeper branch 2 times, most recently from b0a07a3 to 60e29d0 Compare August 18, 2022 10:09
@sjanel sjanel force-pushed the feature/dustsweeper branch 4 times, most recently from 95ff328 to c16c441 Compare September 29, 2022 19:58
@sjanel sjanel force-pushed the feature/dustsweeper branch 4 times, most recently from b7ab0a9 to a67c22a Compare November 2, 2022 22:28
@sjanel sjanel marked this pull request as ready for review November 2, 2022 22:30
@sjanel sjanel merged commit af5ab73 into main Nov 3, 2022
@sjanel sjanel deleted the feature/dustsweeper branch November 3, 2022 14:14
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.

Dust removal
1 participant