Reformat hyper to cache parameters

This commit is contained in:
Matthias
2021-05-02 10:45:21 +02:00
parent 46f0f66039
commit 9049d6b779
2 changed files with 40 additions and 5 deletions

View File

@@ -671,4 +671,4 @@ def test_auto_hyperopt_interface(default_conf):
strategy.sell_rsi = IntParameter([0, 10], default=5, space='buy')
with pytest.raises(OperationalException, match=r"Inconclusive parameter.*"):
[x for x in strategy.enumerate_parameters('sell')]
[x for x in strategy._detect_parameters('sell')]