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

@@ -22,7 +22,7 @@ class Huobi(Exchange):
"l2_limit_range_required": False,
}
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.