Removed changes from tests/strategy/strats that hyperopted short parameters, because these are supposed to be legacy tests

This commit is contained in:
Sam Germain
2021-08-22 21:38:15 -06:00
parent 5ca3f49cb5
commit 8644449c33
5 changed files with 3 additions and 82 deletions

View File

@@ -747,11 +747,10 @@ def test_auto_hyperopt_interface(default_conf):
assert strategy.sell_minusdi.value == 0.5
all_params = strategy.detect_all_parameters()
assert isinstance(all_params, dict)
# TODO-lev: Should these be 4,4 and 10?
assert len(all_params['buy']) == 4
assert len(all_params['sell']) == 4
assert len(all_params['buy']) == 2
assert len(all_params['sell']) == 2
# Number of Hyperoptable parameters
assert all_params['count'] == 10
assert all_params['count'] == 6
strategy.__class__.sell_rsi = IntParameter([0, 10], default=5, space='buy')