show trade id in status command; minor bugfix

This commit is contained in:
gcarq
2017-05-17 23:36:08 +02:00
parent d572b7bdbe
commit 6dae42d95d
2 changed files with 4 additions and 0 deletions

View File

@@ -192,6 +192,8 @@ def create_trade(stake_amount: float, exchange):
whitelist.remove(latest_trade.pair)
logger.debug('Ignoring {} in pair whitelist'.format(latest_trade.pair))
for trade in open_trades:
if trade.pair not in whitelist:
continue
whitelist.remove(trade.pair)
logger.debug('Ignoring {} in pair whitelist'.format(trade.pair))
if not whitelist: