chore(docs/strategy-customization): clean up left over trailing whitespaces

This commit is contained in:
Joe Schr
2021-03-03 15:03:44 +01:00
parent d5993db064
commit 5cf3194fab
2 changed files with 4 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ class AwesomeStrategy(IStrategy):
return -1 # return a value bigger than the inital stoploss to keep using the inital stoploss
# After reaching the desired offset, allow the stoploss to trail by half the profit
desired_stoploss = current_profit / 2
desired_stoploss = current_profit / 2
# Use a minimum of 2.5% and a maximum of 5%
return max(min(desired_stoploss, 0.05), 0.025)