Merge pull request #4457 from JoeSchr/patch-4

Fix: custom_stoploss returns typo
This commit is contained in:
Matthias 2021-02-28 08:36:21 +01:00 committed by GitHub
commit bc0efe5baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ class AwesomeStrategy(IStrategy):
if current_profit > 0.25:
return (-0.15 + current_profit)
if current_profit > 0.20:
return (-0.7 + current_profit)
return (-0.07 + current_profit)
return 1
```