Update function-head for _get_stop_params

This commit is contained in:
Matthias
2022-10-26 07:12:49 +02:00
parent cf6b75a3f3
commit 6e0ca058f4
3 changed files with 7 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
import logging
from typing import Dict
from freqtrade.constants import BuySell
from freqtrade.exchange import Exchange
@@ -37,7 +38,7 @@ class Kucoin(Exchange):
or stop_loss > float(order['stopPrice'])
)
def _get_stop_params(self, ordertype: str, stop_price: float) -> Dict:
def _get_stop_params(self, side: BuySell, ordertype: str, stop_price: float) -> Dict:
params = self._params.copy()
params.update({