I got to the bottom of this double buy question.
So, in my config I have set a “TRADING_LIMIT”: 0.0021, however the bot almost never does trades at exactly 0.0021. Sometimes it is slightly more (0.0021xxxxx), sometimes it is slightly less (0.0020xxxxx). There is also another setting “MIN_VOLUME_TO_BUY”. I have read that it needs to be set between the Exchange minimum and the “TRADING_LIMIT”. Since my “TRADING_LIMIT” is set only slightly above the Binance minimum, I have configured the “MIN_VOLUME_TO_BUY” to be the same as my “TRADING_LIMIT” - “MIN_VOLUME_TO_BUY”: 0.0021.
Now here is what it says on the Gunthy Wiki about TSSL and the “MIN_VOLUME_TO_BUY” parameter.
“Sets a threshold for buy orders. If you own less than the set amount, buy orders will still be placed. This prevents owning very small quantities (dust) blocking buy orders.”
So here is what actually happened in my case with an example. So one of my pairs is BTC-SUB and the bot bought 0.00200430 BTC worth of SUB, but it will still look for more Buys as I have set a “MIN_VOLUME_TO_BUY”: 0.0021 in my strategy and if it sees good conditions for a Buy, it buys again because it bought less than the “MIN_VOLUME_TO_BUY” .
I can confirm that in all three instances I saw the bot make two consecutive Buys, the first buy was just below 0.0021