Fix: trailing_stop_positive should be positive

This commit is contained in:
hroff-1902
2019-12-01 02:27:17 +03:00
parent fffd47e3d8
commit a88bfa8ded
2 changed files with 6 additions and 6 deletions

View File

@@ -190,7 +190,7 @@ class IHyperOpt(ABC):
# other 'trailing' hyperspace parameters.
Categorical([True], name='trailing_stop'),
Real(-0.35, -0.02, name='trailing_stop_positive'),
Real(0.02, 0.35, name='trailing_stop_positive'),
Real(0.01, 0.1, name='trailing_stop_positive_offset'),
Categorical([True, False], name='trailing_only_offset_is_reached'),
]