Merge branch 'develop' into feat/short

This commit is contained in:
Matthias
2022-01-29 14:19:30 +01:00
41 changed files with 347 additions and 135 deletions

View File

@@ -782,6 +782,8 @@ def test_backtest_pricecontours_protections(default_conf, fee, mocker, testdatad
# While buy-signals are unrealistic, running backtesting
# over and over again should not cause different results
for [contour, numres] in tests:
# Debug output for random test failure
print(f"{contour}, {numres}")
assert len(simple_backtest(default_conf, contour, mocker, testdatadir)['results']) == numres