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

@@ -12,7 +12,7 @@ def bot_loop_start(self, **kwargs) -> None:
"""
pass
custom_stoploss = True
use_custom_stoploss = True
def stoploss_value(self, pair: str, trade: 'Trade', current_time: 'datetime', current_rate: float,
current_profit: float, **kwargs) -> float:
@@ -24,7 +24,7 @@ def stoploss_value(self, pair: str, trade: 'Trade', current_time: 'datetime', cu
For full documentation please go to https://www.freqtrade.io/en/latest/strategy-advanced/
When not implemented by a strategy, returns the initial stoploss value
Only called when custom_stoploss is set to True.
Only called when use_custom_stoploss is set to True.
:param pair: Pair that's about to be sold.
:param trade: trade object.