This commit is contained in:
hroff-1902 2019-07-10 01:45:02 +03:00
parent 7763b4cf5b
commit c474e2ac86
2 changed files with 4 additions and 1 deletions

View File

@ -319,6 +319,9 @@ class Backtesting(object):
position_stacking: do we allow position stacking? (default: False)
:return: DataFrame
"""
# Arguments are long and noisy, so this is commented out.
# Uncomment if you need to debug the backtest() method.
# logger.debug(f"Start backtest, args: {args}")
processed = args['processed']
stake_amount = args['stake_amount']
max_open_trades = args.get('max_open_trades', 0)

View File

@ -195,7 +195,7 @@ class Hyperopt(Backtesting):
{
'stake_amount': self.config['stake_amount'],
'processed': processed,
'position_stacking': self.config.get('position_stacking', True),
'position_stacking': self.config.get('position_stacking', False),
'start_date': min_date,
'end_date': max_date,
}