mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
comments added
This commit is contained in:
parent
12f07ee126
commit
a0658bb504
|
@ -556,8 +556,11 @@ class FreqtradeBot(object):
|
|||
if trade.is_open and trade.open_order_id is None:
|
||||
# Check if we can sell our current pair
|
||||
result = self.handle_trade(trade)
|
||||
|
||||
# Updating wallets if any trade occured
|
||||
if result:
|
||||
self.wallets.update()
|
||||
|
||||
return result
|
||||
|
||||
except DependencyException as exception:
|
||||
|
|
Loading…
Reference in New Issue
Block a user