You can also use and manage this app in your dashboard.
With the Wallet Scrubber you can automatically let new sell orders include leftover balance amounts, and you can scrub your wallet. This will place buy orders for the leftover amounts, just the minimum amount (plus fees) and places a sell order immediately after.
Warning! Using the Wallet Scrubber to scrub your wallets could end up in unsold orders, open positions and losses/profits. If you do not wish this, please enable pick up leftovers only.