Rename get_liquidation method

This commit is contained in:
Matthias
2022-02-28 19:42:26 +01:00
parent 1d27cbd01f
commit ab46476e63
2 changed files with 7 additions and 7 deletions

View File

@@ -2077,7 +2077,7 @@ class Exchange:
self.trading_mode == TradingMode.FUTURES
):
wallet_balance = (amount * open_rate) / leverage
isolated_liq = self.get_liquidation_price(
isolated_liq = self.get_or_calculate_liquidation_price(
pair=pair,
open_rate=open_rate,
is_short=is_short,