Merge pull request #2301 from hroff-1902/fix-hyperopt-position-stacking

Fix hyperopt position stacking
This commit is contained in:
Matthias 2019-09-25 06:22:39 +02:00 committed by GitHub
commit 0102413f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ class Hyperopt:
else:
logger.debug('Ignoring max_open_trades (--disable-max-market-positions was used) ...')
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'):
# Make sure experimental is enabled