Rename flag to "use_custom_stoposs"

This commit is contained in:
Matthias
2020-12-20 11:12:22 +01:00
parent 8574751a07
commit 277342f167
4 changed files with 11 additions and 11 deletions

View File

@@ -328,7 +328,7 @@ def test_stop_loss_reached(default_conf, fee, profit, adjusted, expected, traili
trade.adjust_min_max_rates(trade.open_rate)
strategy.trailing_stop = trailing
strategy.trailing_stop_positive = -0.05
strategy.custom_stoploss = custom
strategy.use_custom_stoploss = custom
original_stopvalue = strategy.stoploss_value
if custom_stop:
strategy.stoploss_value = custom_stop