fix flake8
This commit is contained in:
parent
9450b76414
commit
2968347062
@ -368,7 +368,7 @@ class FreqtradeBot(object):
|
|||||||
# Try update amount (binance-fix)
|
# Try update amount (binance-fix)
|
||||||
try:
|
try:
|
||||||
# Only run for closed trades
|
# Only run for closed trades
|
||||||
if trade.fee_open != 0 and not (order['status'] == 'open' or order['price'] is None):
|
if trade.fee_open != 0 and not (order['status'] == 'open'):
|
||||||
new_amount = self.get_real_amount(trade)
|
new_amount = self.get_real_amount(trade)
|
||||||
# This may break if a exchange applies no fee (which appears highly unlikely)
|
# This may break if a exchange applies no fee (which appears highly unlikely)
|
||||||
if order['amount'] != new_amount:
|
if order['amount'] != new_amount:
|
||||||
|
Loading…
Reference in New Issue
Block a user