mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
Fix flake8 complaints
This commit is contained in:
parent
7210a11730
commit
b738c4e695
|
@ -1077,7 +1077,7 @@ class Backtesting:
|
||||||
})
|
})
|
||||||
self.all_results[self.strategy.get_strategy_name()] = results
|
self.all_results[self.strategy.get_strategy_name()] = results
|
||||||
|
|
||||||
if self.backtest_signal_candle_export_enable and
|
if self.backtest_signal_candle_export_enable and \
|
||||||
self.dataprovider.runmode == RunMode.BACKTEST:
|
self.dataprovider.runmode == RunMode.BACKTEST:
|
||||||
signal_candles_only = {}
|
signal_candles_only = {}
|
||||||
for pair in preprocessed_tmp.keys():
|
for pair in preprocessed_tmp.keys():
|
||||||
|
@ -1160,7 +1160,7 @@ class Backtesting:
|
||||||
if self.config.get('export', 'none') == 'trades':
|
if self.config.get('export', 'none') == 'trades':
|
||||||
store_backtest_stats(self.config['exportfilename'], self.results)
|
store_backtest_stats(self.config['exportfilename'], self.results)
|
||||||
|
|
||||||
if self.backtest_signal_candle_export_enable and
|
if self.backtest_signal_candle_export_enable and \
|
||||||
self.dataprovider.runmode == RunMode.BACKTEST:
|
self.dataprovider.runmode == RunMode.BACKTEST:
|
||||||
store_backtest_signal_candles(self.config['exportfilename'], self.processed_dfs)
|
store_backtest_signal_candles(self.config['exportfilename'], self.processed_dfs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user