changed trades_space to max_open_trades_space

This commit is contained in:
Antonio Della Fortuna
2023-01-15 11:50:40 +01:00
parent 5e64980319
commit ab12aace5f
6 changed files with 11 additions and 10 deletions

View File

@@ -1088,7 +1088,8 @@ def test_max_open_trades_consistency(mocker, hyperopt_conf, tmpdir, fee) -> None
assert isinstance(hyperopt.custom_hyperopt, HyperOptAuto)
hyperopt.custom_hyperopt.trades_space = lambda: [Integer(1, 10, name='max_open_trades')]
hyperopt.custom_hyperopt.max_open_trades_space = lambda: [
Integer(1, 10, name='max_open_trades')]
first_time_evaluated = False