Fix "if" condition with "if not" for check if trade is open.

This commit is contained in:
NatanNMB15 2019-04-21 14:20:28 -03:00
parent 3bcc60333d
commit 706b30f4d2
1 changed files with 1 additions and 1 deletions

View File

@ -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: