Fix hyperopt position stacking
This commit is contained in:
parent
a75fb3d4be
commit
665e0570ae
@ -90,7 +90,7 @@ class Hyperopt:
|
|||||||
else:
|
else:
|
||||||
logger.debug('Ignoring max_open_trades (--disable-max-market-positions was used) ...')
|
logger.debug('Ignoring max_open_trades (--disable-max-market-positions was used) ...')
|
||||||
self.max_open_trades = 0
|
self.max_open_trades = 0
|
||||||
self.position_stacking = self.config.get('position_stacking', False),
|
self.position_stacking = self.config.get('position_stacking', False)
|
||||||
|
|
||||||
if self.has_space('sell'):
|
if self.has_space('sell'):
|
||||||
# Make sure experimental is enabled
|
# Make sure experimental is enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user