Fix error when config does not have stoploss

This commit is contained in:
Gerald Lonlas 2018-01-18 22:37:06 -08:00
parent 04010548f8
commit eac6e05392

View File

@ -222,7 +222,7 @@ def start(args):
'realistic': args.realistic_simulation, 'realistic': args.realistic_simulation,
'sell_profit_only': sell_profit_only, 'sell_profit_only': sell_profit_only,
'use_sell_signal': use_sell_signal, 'use_sell_signal': use_sell_signal,
'stoploss': config.get('stoploss'), 'stoploss': strategy.stoploss,
'record': args.export 'record': args.export
}) })
logger.info( logger.info(