Rename stoploss() to create_stoploss()

This commit is contained in:
Matthias
2023-02-14 20:42:08 +01:00
parent 6e55a873b3
commit 3397e47ccf
10 changed files with 81 additions and 81 deletions

View File

@@ -1098,7 +1098,7 @@ class FreqtradeBot(LoggingMixin):
:return: True if the order succeeded, and False in case of problems.
"""
try:
stoploss_order = self.exchange.stoploss(
stoploss_order = self.exchange.create_stoploss(
pair=trade.pair,
amount=trade.amount,
stop_price=stop_price,