I have small amounts left over after a trade and it seems to be causing issues buying and selling the next trade on that coin.  I didn't have this in 3 version but now in 4.0.5 I have a full wallet of not much.  Perhaps a parameter in the config file for ignore dust, eg any amount below the minimum trade level.  Or perhaps a minvalueorworthinbtc.  so it can be set at 0.0005 meaning the bot should behave as normal if the remaining value is less 0.0005 BTC.  That or fix the sell to sell it all.