chore: fix incorrect docstrings

This commit is contained in:
Matthias
2025-03-08 17:07:46 +01:00
parent 8bd4926c29
commit 538139ef31
3 changed files with 4 additions and 10 deletions

View File

@@ -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