Merge pull request #2301 from hroff-1902/fix-hyperopt-position-stacking
Fix hyperopt position stacking
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user