Update stoploss method to new functionality

This commit is contained in:
Matthias
2022-03-04 07:07:34 +01:00
parent 011cd58377
commit 62dcebee46
5 changed files with 29 additions and 17 deletions

View File

@@ -27,7 +27,7 @@ class Kucoin(Exchange):
"time_in_force_parameter": "timeInForce",
}
def stoploss_adjust(self, stop_loss: float, order: Dict) -> bool:
def stoploss_adjust(self, stop_loss: float, order: Dict, side: str) -> bool:
"""
Verify stop_loss against stoploss-order value (limit or price)
Returns True if adjustment is necessary.