Add test for precision backpopulation

This commit is contained in:
Matthias
2022-08-16 10:59:43 +02:00
parent 15a1c59a91
commit fa89368c02
5 changed files with 41 additions and 16 deletions

View File

@@ -830,7 +830,7 @@ def test_performance_handle(default_conf_usdt, ticker, fee, mocker) -> None:
res = rpc._rpc_performance()
assert len(res) == 3
assert res[0]['pair'] == 'ETC/USDT'
assert res[0]['pair'] == 'NEO/USDT'
assert res[0]['count'] == 1
assert res[0]['profit_pct'] == 5.0