comments added

This commit is contained in:
misagh 2018-11-17 21:27:42 +01:00
parent 12f07ee126
commit a0658bb504

View File

@ -556,8 +556,11 @@ class FreqtradeBot(object):
if trade.is_open and trade.open_order_id is None: if trade.is_open and trade.open_order_id is None:
# Check if we can sell our current pair # Check if we can sell our current pair
result = self.handle_trade(trade) result = self.handle_trade(trade)
# Updating wallets if any trade occured
if result: if result:
self.wallets.update() self.wallets.update()
return result return result
except DependencyException as exception: except DependencyException as exception: