diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 4539ab352..8ca92df51 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -2062,7 +2062,7 @@ class Exchange: :param exchange_name: :param open_rate: Entry price of position :param is_short: True if the trade is a short, false otherwise - :param position: Absolute value of position size (in base currency) + :param position: Absolute value of position size incl. leverage (in base currency) :param trading_mode: SPOT, MARGIN, FUTURES, etc. :param collateral: Either ISOLATED or CROSS :param wallet_balance: Amount of collateral in the wallet being used to trade diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index ba96e45f3..a6d319687 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -26,12 +26,6 @@ from tests.conftest import get_mock_coro, get_patched_exchange, log_has, log_has # Make sure to always keep one exchange here which is NOT subclassed!! EXCHANGES = ['bittrex', 'binance', 'kraken', 'ftx', 'gateio'] -spot = TradingMode.SPOT -margin = TradingMode.MARGIN -futures = TradingMode.FUTURES - -cross = Collateral.CROSS -isolated = Collateral.ISOLATED def ccxt_exceptionhandlers(mocker, default_conf, api_mock, exchange_name,