Skip to content

Commit

Permalink
Fix hyperopt position stacking
Browse files Browse the repository at this point in the history
  • Loading branch information
hroff-1902 committed Sep 25, 2019
1 parent a75fb3d commit 665e057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freqtrade/optimize/hyperopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, config: Dict[str, Any]) -> None:
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
Expand Down

0 comments on commit 665e057

Please sign in to comment.