Changed max_open_trades default range for optimization
This commit is contained in:
@@ -127,7 +127,7 @@ class MyAwesomeStrategy(IStrategy):
|
||||
# Define a custom max_open_trades space
|
||||
def trades_space(self) -> List[Dimension]:
|
||||
return [
|
||||
Integer(1, 10, name='max_open_trades'),
|
||||
Integer(-1, 10, name='max_open_trades'),
|
||||
]
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user