fix #2008
This commit is contained in:
parent
7763b4cf5b
commit
c474e2ac86
@ -319,6 +319,9 @@ class Backtesting(object):
|
|||||||
position_stacking: do we allow position stacking? (default: False)
|
position_stacking: do we allow position stacking? (default: False)
|
||||||
:return: DataFrame
|
: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']
|
processed = args['processed']
|
||||||
stake_amount = args['stake_amount']
|
stake_amount = args['stake_amount']
|
||||||
max_open_trades = args.get('max_open_trades', 0)
|
max_open_trades = args.get('max_open_trades', 0)
|
||||||
|
@ -195,7 +195,7 @@ class Hyperopt(Backtesting):
|
|||||||
{
|
{
|
||||||
'stake_amount': self.config['stake_amount'],
|
'stake_amount': self.config['stake_amount'],
|
||||||
'processed': processed,
|
'processed': processed,
|
||||||
'position_stacking': self.config.get('position_stacking', True),
|
'position_stacking': self.config.get('position_stacking', False),
|
||||||
'start_date': min_date,
|
'start_date': min_date,
|
||||||
'end_date': max_date,
|
'end_date': max_date,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user