fix typo on example

This commit is contained in:
Stefano
2026-01-08 08:49:16 +09:00
parent 8596042065
commit 7182e6960e
+1 -2
View File
@@ -133,7 +133,7 @@ class MyAwesomeStrategy(IStrategy):
] ]
# Define a custom max_open_trades space # Define a custom max_open_trades space
def max_open_trades_space(self) -> List[Dimension]: def max_open_trades_space() -> List[Dimension]:
return [ return [
Integer(-1, 10, name='max_open_trades'), Integer(-1, 10, name='max_open_trades'),
] ]
@@ -208,7 +208,6 @@ Some research will be necessary to find additional Samplers (from optunahub) for
Obviously the same approach will work for all other Samplers optuna supports. Obviously the same approach will work for all other Samplers optuna supports.
## Space options ## Space options
For the additional spaces, scikit-optimize (in combination with Freqtrade) provides the following space types: For the additional spaces, scikit-optimize (in combination with Freqtrade) provides the following space types: