fix return value from info hash: value is in string

This commit is contained in:
misagh
2019-01-16 16:15:36 +01:00
parent 50bc20134f
commit 611b48dbb9
2 changed files with 2 additions and 2 deletions

View File

@@ -665,7 +665,7 @@ class FreqtradeBot(object):
:return: None
"""
if trade.stop_loss > order['info']['stopPrice']:
if trade.stop_loss > float(order['info']['stopPrice']):
# we check if the update is neccesary
update_beat = self.strategy.order_types['stoploss_on_exchange_interval']
if (datetime.utcnow() - trade.stoploss_last_update).total_seconds() > update_beat: