mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 01:53:05 +00:00
Removed changes from tests/strategy/strats that hyperopted short parameters, because these are supposed to be legacy tests
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user