oops, lost in git :/
This commit is contained in:
parent
fb7b65c909
commit
890cef88ab
@ -779,10 +779,6 @@ class FreqtradeBot(object):
|
|||||||
sell_type = 'sell'
|
sell_type = 'sell'
|
||||||
if sell_reason in (SellType.STOP_LOSS, SellType.TRAILING_STOP_LOSS):
|
if sell_reason in (SellType.STOP_LOSS, SellType.TRAILING_STOP_LOSS):
|
||||||
sell_type = 'stoploss'
|
sell_type = 'stoploss'
|
||||||
|
|
||||||
if self.config.get('dry_run', False) and sell_type == 'stoploss':
|
|
||||||
limit = trade.stop_loss
|
|
||||||
|
|
||||||
# Execute sell and update trade record
|
# Execute sell and update trade record
|
||||||
order_id = self.exchange.sell(pair=str(trade.pair),
|
order_id = self.exchange.sell(pair=str(trade.pair),
|
||||||
ordertype=self.strategy.order_types[sell_type],
|
ordertype=self.strategy.order_types[sell_type],
|
||||||
|
Loading…
Reference in New Issue
Block a user