address PR comments

This commit is contained in:
xmatthias 2018-07-01 19:41:19 +02:00
parent 8f49d5eb10
commit 2dc881558d
4 changed files with 5 additions and 6 deletions

View File

@ -64,7 +64,6 @@ CONF_SCHEMA = {
'unfilledtimeout': {
'type': 'object',
'properties': {
'use_book_order': {'type': 'boolean'},
'buy': {'type': 'number', 'minimum': 3},
'sell': {'type': 'number', 'minimum': 10}
}

View File

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