Fix flake8 complaints

This commit is contained in:
froggleston 2022-04-16 16:37:06 +01:00
parent a63affc5f1
commit 7210a11730

View File

@ -131,7 +131,8 @@ class Backtesting:
self.config['startup_candle_count'] = self.required_startup
self.exchange.validate_required_startup_candles(self.required_startup, self.timeframe)
self.backtest_signal_candle_export_enable = self.config.get('backtest_signal_candle_export_enable', False)
self.backtest_signal_candle_export_enable = self.config.get(
'backtest_signal_candle_export_enable', False)
self.trading_mode: TradingMode = config.get('trading_mode', TradingMode.SPOT)
# strategies which define "can_short=True" will fail to load in Spot mode.