Merge remote-tracking branch 'origin/tmp/calcprofit' into pr/mkavinkumar1/6545

This commit is contained in:
Matthias
2022-06-17 19:45:46 +02:00
24 changed files with 969 additions and 129 deletions

View File

@@ -841,3 +841,6 @@ class AwesomeStrategy(IStrategy):
"""
return 1.0
```
All profit calculations include leverage. Stoploss / ROI also include leverage in their calculation.
Defining a stoploss of 10% at 10x leverage would trigger the stoploss with a 1% move to the downside.