address PR comments

This commit is contained in:
xmatthias 2018-07-01 19:41:19 +02:00 committed by creslinux
parent 3919321e84
commit 21a666d67f
2 changed files with 3 additions and 3 deletions

View File

@ -528,7 +528,7 @@ with limit `{buy_limit:.8f} ({stake_amount:.6f} \
continue continue
# Check if trade is still actually open # Check if trade is still actually open
if (order['status'] == 'open'): if order['status'] == 'open':
if order['side'] == 'buy' and ordertime < buy_timeoutthreashold: if order['side'] == 'buy' and ordertime < buy_timeoutthreashold:
self.handle_timedout_limit_buy(trade, order) self.handle_timedout_limit_buy(trade, order)
elif order['side'] == 'sell' and ordertime < sell_timeoutthreashold: elif order['side'] == 'sell' and ordertime < sell_timeoutthreashold: