Improve method wording for liquidation price setter

This commit is contained in:
Matthias
2022-07-30 09:19:48 +02:00
parent dba7a7257d
commit d046f0cc5e
4 changed files with 14 additions and 16 deletions

View File

@@ -507,7 +507,7 @@ class LocalTrade():
self.max_rate = max(current_price, self.max_rate or self.open_rate)
self.min_rate = min(current_price_low, self.min_rate or self.open_rate)
def set_isolated_liq(self, liquidation_price: Optional[float]):
def set_liquidation_price(self, liquidation_price: Optional[float]):
"""
Method you should use to set self.liquidation price.
Assures stop_loss is not passed the liquidation price