diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index 070eb6d48..a99b2ae29 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -318,11 +318,11 @@ class AwesomeStrategy(IStrategy): # evaluate highest to lowest, so that highest possible stop is used if current_profit > 0.40: - return stoploss_from_open(0.25, current_profit, is_short=trade.is_short, leverage=trade.leverage) + return stoploss_from_open(0.25, current_profit, is_short=trade.is_short) elif current_profit > 0.25: - return stoploss_from_open(0.15, current_profit, is_short=trade.is_short, leverage=trade.leverage) + return stoploss_from_open(0.15, current_profit, is_short=trade.is_short) elif current_profit > 0.20: - return stoploss_from_open(0.07, current_profit, is_short=trade.is_short, leverage=trade.leverage) + return stoploss_from_open(0.07, current_profit, is_short=trade.is_short) # return maximum stoploss value, keeping current stoploss price unchanged return 1