Update docs for /profit output

This commit is contained in:
Matthias
2021-07-15 07:11:44 +02:00
parent 697bf92f6f
commit 2e95df4d8d
3 changed files with 12 additions and 6 deletions

View File

@@ -204,10 +204,12 @@ def test__validate_stake_amount(mocker, default_conf,
(None, 0, 0, 2500, 2500),
(None, 500, 0, 2500, 2000),
(None, 500, 0, 2500, 2000),
(None, -70, 0, 1930, 2000),
# Only available balance matters when it's set.
(100, 0, 0, 0, 100),
(1000, 0, 2, 5, 1000),
(1235, 2250, 2, 5, 1235),
(1235, -2250, 2, 5, 1235),
])
def test_get_starting_balance(mocker, default_conf, available_capital, closed_profit,
open_stakes, free, expected):