Add use_custom_stoploss to optimize_report

This commit is contained in:
Matthias 2021-01-19 22:51:12 +01:00
parent 86b3306a3b
commit 7c80eeea95

View File

@ -302,6 +302,7 @@ def generate_backtest_stats(btdata: Dict[str, DataFrame],
'trailing_stop_positive': config.get('trailing_stop_positive'),
'trailing_stop_positive_offset': config.get('trailing_stop_positive_offset', 0.0),
'trailing_only_offset_is_reached': config.get('trailing_only_offset_is_reached', False),
'use_custom_stoploss': config.get('use_custom_stoploss', False),
'minimal_roi': config['minimal_roi'],
'use_sell_signal': config['ask_strategy']['use_sell_signal'],
'sell_profit_only': config['ask_strategy']['sell_profit_only'],