From 7182e6960eff5a82e657fd3c4134d47290ef5969 Mon Sep 17 00:00:00 2001 From: Stefano Date: Thu, 8 Jan 2026 08:49:16 +0900 Subject: [PATCH] fix typo on example --- docs/advanced-hyperopt.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/advanced-hyperopt.md b/docs/advanced-hyperopt.md index 1f727398b..7f24e1d15 100644 --- a/docs/advanced-hyperopt.md +++ b/docs/advanced-hyperopt.md @@ -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: