Small finetuning improving a comment
This commit is contained in:
parent
2141e04a19
commit
7dd50f78cf
@ -2062,7 +2062,7 @@ class Exchange:
|
|||||||
:param exchange_name:
|
:param exchange_name:
|
||||||
:param open_rate: Entry price of position
|
:param open_rate: Entry price of position
|
||||||
:param is_short: True if the trade is a short, false otherwise
|
: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 trading_mode: SPOT, MARGIN, FUTURES, etc.
|
||||||
:param collateral: Either ISOLATED or CROSS
|
:param collateral: Either ISOLATED or CROSS
|
||||||
:param wallet_balance: Amount of collateral in the wallet being used to trade
|
:param wallet_balance: Amount of collateral in the wallet being used to trade
|
||||||
|
@ -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!!
|
# Make sure to always keep one exchange here which is NOT subclassed!!
|
||||||
EXCHANGES = ['bittrex', 'binance', 'kraken', 'ftx', 'gateio']
|
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,
|
def ccxt_exceptionhandlers(mocker, default_conf, api_mock, exchange_name,
|
||||||
|
Loading…
Reference in New Issue
Block a user