mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
test: update tests for removal of leverage
This commit is contained in:
parent
34667c69d3
commit
36098f6b78
|
@ -601,7 +601,6 @@ def test_rpc_balance_handle(default_conf_usdt, mocker, tickers):
|
|||
"est_stake_bot": 0,
|
||||
"stake": "USDT",
|
||||
"side": "long",
|
||||
"leverage": 1,
|
||||
"position": 0,
|
||||
"is_bot_managed": False,
|
||||
"is_position": False,
|
||||
|
@ -616,7 +615,6 @@ def test_rpc_balance_handle(default_conf_usdt, mocker, tickers):
|
|||
"est_stake_bot": 0,
|
||||
"stake": "USDT",
|
||||
"side": "long",
|
||||
"leverage": 1,
|
||||
"position": 0,
|
||||
"is_bot_managed": False,
|
||||
"is_position": False,
|
||||
|
@ -631,7 +629,6 @@ def test_rpc_balance_handle(default_conf_usdt, mocker, tickers):
|
|||
"est_stake_bot": 49.5,
|
||||
"stake": "USDT",
|
||||
"side": "long",
|
||||
"leverage": 1,
|
||||
"position": 0,
|
||||
"is_bot_managed": True,
|
||||
"is_position": False,
|
||||
|
@ -645,7 +642,6 @@ def test_rpc_balance_handle(default_conf_usdt, mocker, tickers):
|
|||
"est_stake": 20,
|
||||
"est_stake_bot": 20,
|
||||
"stake": "USDT",
|
||||
"leverage": 5.0,
|
||||
"side": "short",
|
||||
"is_bot_managed": True,
|
||||
"is_position": True,
|
||||
|
|
|
@ -574,7 +574,6 @@ def test_api_balance(botclient, mocker, rpc_balance, tickers):
|
|||
"est_stake_bot": pytest.approx(11.879999),
|
||||
"stake": "BTC",
|
||||
"is_position": False,
|
||||
"leverage": 1.0,
|
||||
"position": 0.0,
|
||||
"side": "long",
|
||||
"is_bot_managed": True,
|
||||
|
|
Loading…
Reference in New Issue
Block a user