mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-26 08:50:47 +00:00
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user