mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-16 04:41:15 +00:00
chore: fix incorrect docstrings
This commit is contained in:
@@ -274,12 +274,12 @@ class Binance(Exchange):
|
|||||||
def dry_run_liquidation_price(
|
def dry_run_liquidation_price(
|
||||||
self,
|
self,
|
||||||
pair: str,
|
pair: str,
|
||||||
open_rate: float, # Entry price of position
|
open_rate: float,
|
||||||
is_short: bool,
|
is_short: bool,
|
||||||
amount: float,
|
amount: float,
|
||||||
stake_amount: float,
|
stake_amount: float,
|
||||||
leverage: float,
|
leverage: float,
|
||||||
wallet_balance: float, # Or margin balance
|
wallet_balance: float,
|
||||||
open_trades: list,
|
open_trades: list,
|
||||||
) -> float | None:
|
) -> float | None:
|
||||||
"""
|
"""
|
||||||
@@ -293,8 +293,6 @@ class Binance(Exchange):
|
|||||||
:param amount: Absolute value of position size incl. leverage (in base currency)
|
:param amount: Absolute value of position size incl. leverage (in base currency)
|
||||||
:param stake_amount: Stake amount - Collateral in settle currency.
|
:param stake_amount: Stake amount - Collateral in settle currency.
|
||||||
:param leverage: Leverage used for this position.
|
: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
|
:param wallet_balance: Amount of margin_mode in the wallet being used to trade
|
||||||
Cross-Margin Mode: crossWalletBalance
|
Cross-Margin Mode: crossWalletBalance
|
||||||
Isolated-Margin Mode: isolatedWalletBalance
|
Isolated-Margin Mode: isolatedWalletBalance
|
||||||
|
|||||||
@@ -184,8 +184,6 @@ class Bybit(Exchange):
|
|||||||
:param amount: Absolute value of position size incl. leverage (in base currency)
|
:param amount: Absolute value of position size incl. leverage (in base currency)
|
||||||
:param stake_amount: Stake amount - Collateral in settle currency.
|
:param stake_amount: Stake amount - Collateral in settle currency.
|
||||||
:param leverage: Leverage used for this position.
|
: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
|
:param wallet_balance: Amount of margin_mode in the wallet being used to trade
|
||||||
Cross-Margin Mode: crossWalletBalance
|
Cross-Margin Mode: crossWalletBalance
|
||||||
Isolated-Margin Mode: isolatedWalletBalance
|
Isolated-Margin Mode: isolatedWalletBalance
|
||||||
|
|||||||
@@ -3688,12 +3688,12 @@ class Exchange:
|
|||||||
def dry_run_liquidation_price(
|
def dry_run_liquidation_price(
|
||||||
self,
|
self,
|
||||||
pair: str,
|
pair: str,
|
||||||
open_rate: float, # Entry price of position
|
open_rate: float,
|
||||||
is_short: bool,
|
is_short: bool,
|
||||||
amount: float,
|
amount: float,
|
||||||
stake_amount: float,
|
stake_amount: float,
|
||||||
leverage: float,
|
leverage: float,
|
||||||
wallet_balance: float, # Or margin balance
|
wallet_balance: float,
|
||||||
open_trades: list,
|
open_trades: list,
|
||||||
) -> float | None:
|
) -> float | None:
|
||||||
"""
|
"""
|
||||||
@@ -3714,8 +3714,6 @@ class Exchange:
|
|||||||
:param amount: Absolute value of position size incl. leverage (in base currency)
|
:param amount: Absolute value of position size incl. leverage (in base currency)
|
||||||
:param stake_amount: Stake amount - Collateral in settle currency.
|
:param stake_amount: Stake amount - Collateral in settle currency.
|
||||||
:param leverage: Leverage used for this position.
|
: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
|
:param wallet_balance: Amount of margin_mode in the wallet being used to trade
|
||||||
Cross-Margin Mode: crossWalletBalance
|
Cross-Margin Mode: crossWalletBalance
|
||||||
Isolated-Margin Mode: isolatedWalletBalance
|
Isolated-Margin Mode: isolatedWalletBalance
|
||||||
|
|||||||
Reference in New Issue
Block a user