Fix "if" condition with "if not" for check if trade is open.
This commit is contained in:
		| @@ -523,7 +523,7 @@ class FreqtradeBot(object): | ||||
|             trade.update(order) | ||||
|  | ||||
|             # Updating wallets when order is closed | ||||
|             if trade.is_open == False: | ||||
|             if not trade.is_open: | ||||
|                 self.wallets.update() | ||||
|  | ||||
|     def get_sell_rate(self, pair: str, refresh: bool) -> float: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user