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