last step: stop loss on exchange added to trailing

This commit is contained in:
misagh
2019-01-16 14:49:47 +01:00
parent 6d588b3b0b
commit cffc9ce890
2 changed files with 11 additions and 8 deletions

View File

@@ -1042,6 +1042,9 @@ def test_handle_stoploss_on_exchange_trailing(mocker, default_conf, fee, caplog,
freqtrade = FreqtradeBot(default_conf)
# enabling stoploss on exchange
freqtrade.strategy.order_types['stoploss_on_exchange'] = True
# setting stoploss
freqtrade.strategy.stoploss = -0.05