Added command for Wallets Sync after a trade is closed in "update_trade" method in "freqtradebot" class, this will help the Wallets get updated after a trade is sold and closed, specifically LIMIT_SELL trades, then bot can work properly with new trades.
This commit is contained in:
		| @@ -522,6 +522,10 @@ class FreqtradeBot(object): | ||||
|  | ||||
|             trade.update(order) | ||||
|  | ||||
|             # Updating wallets when order is closed | ||||
|             if trade.is_open == False: | ||||
|                 self.wallets.update() | ||||
|  | ||||
|     def get_sell_rate(self, pair: str, refresh: bool) -> float: | ||||
|         """ | ||||
|         Get sell rate - either using get-ticker bid or first bid based on orderbook | ||||
|   | ||||
		Reference in New Issue
	
	Block a user