Merge pull request #12699 from stash86/main-stash

fix typo on example
This commit is contained in:
Matthias
2026-01-08 06:49:00 +01:00
committed by GitHub

View File

@@ -133,7 +133,7 @@ class MyAwesomeStrategy(IStrategy):
]
# Define a custom max_open_trades space
def max_open_trades_space(self) -> List[Dimension]:
def max_open_trades_space() -> List[Dimension]:
return [
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.
## Space options
For the additional spaces, scikit-optimize (in combination with Freqtrade) provides the following space types: