diff --git a/freqtrade/exchange/binance.py b/freqtrade/exchange/binance.py index 18ba2aa50..c67263096 100644 --- a/freqtrade/exchange/binance.py +++ b/freqtrade/exchange/binance.py @@ -274,12 +274,12 @@ class Binance(Exchange): def dry_run_liquidation_price( self, pair: str, - open_rate: float, # Entry price of position + open_rate: float, is_short: bool, amount: float, stake_amount: float, leverage: float, - wallet_balance: float, # Or margin balance + wallet_balance: float, open_trades: list, ) -> float | None: """ @@ -293,8 +293,6 @@ class Binance(Exchange): :param amount: Absolute value of position size incl. leverage (in base currency) :param stake_amount: Stake amount - Collateral in settle currency. :param leverage: Leverage used for this position. - :param trading_mode: SPOT, MARGIN, FUTURES, etc. - :param margin_mode: Either ISOLATED or CROSS :param wallet_balance: Amount of margin_mode in the wallet being used to trade Cross-Margin Mode: crossWalletBalance Isolated-Margin Mode: isolatedWalletBalance diff --git a/freqtrade/exchange/bybit.py b/freqtrade/exchange/bybit.py index d75aafdc8..ae15ad521 100644 --- a/freqtrade/exchange/bybit.py +++ b/freqtrade/exchange/bybit.py @@ -184,8 +184,6 @@ class Bybit(Exchange): :param amount: Absolute value of position size incl. leverage (in base currency) :param stake_amount: Stake amount - Collateral in settle currency. :param leverage: Leverage used for this position. - :param trading_mode: SPOT, MARGIN, FUTURES, etc. - :param margin_mode: Either ISOLATED or CROSS :param wallet_balance: Amount of margin_mode in the wallet being used to trade Cross-Margin Mode: crossWalletBalance Isolated-Margin Mode: isolatedWalletBalance diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index d234c3568..14b801bef 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -3688,12 +3688,12 @@ class Exchange: def dry_run_liquidation_price( self, pair: str, - open_rate: float, # Entry price of position + open_rate: float, is_short: bool, amount: float, stake_amount: float, leverage: float, - wallet_balance: float, # Or margin balance + wallet_balance: float, open_trades: list, ) -> float | None: """ @@ -3714,8 +3714,6 @@ class Exchange: :param amount: Absolute value of position size incl. leverage (in base currency) :param stake_amount: Stake amount - Collateral in settle currency. :param leverage: Leverage used for this position. - :param trading_mode: SPOT, MARGIN, FUTURES, etc. - :param margin_mode: Either ISOLATED or CROSS :param wallet_balance: Amount of margin_mode in the wallet being used to trade Cross-Margin Mode: crossWalletBalance Isolated-Margin Mode: isolatedWalletBalance