hyperopt-list --export-csv command stake currency fix

Take stake currency from hyperopt result file instead of config
This commit is contained in:
Andras Kovacs
2024-12-24 13:33:58 +01:00
parent 0c08656965
commit b820810afe
2 changed files with 4 additions and 4 deletions

View File

@@ -1532,8 +1532,9 @@ def test_hyperopt_list(mocker, capsys, caplog, tmp_path):
assert csv_file.is_file()
line = csv_file.read_text()
assert (
'Best,1,2,-1.25%,-1.2222,-0.00125625,,-2.51,"3,930.0 m",-0.00125625,23.00%,0.43662' in line
or "Best,1,2,-1.25%,-1.2222,-0.00125625,,-2.51,2 days 17:30:00,2,0,-0.00125625,23.00%,"
'Best,1,2,-1.25%,-1.2222,-0.00125625,BTC,-2.51,"3,930.0 m",-0.00125625,23.00%,0.43662'
in line
or "Best,1,2,-1.25%,-1.2222,-0.00125625,BTC,-2.51,2 days 17:30:00,2,0,-0.00125625,23.00%,"
"0.43662"
in line
)