From 27ee8f73604b52da8e7a5865d52949afd9b99a7b Mon Sep 17 00:00:00 2001 From: xmatthias Date: Sun, 10 Jun 2018 13:55:48 +0200 Subject: [PATCH] make flake happy --- freqtrade/optimize/backtesting.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index cc20e9789..e526a6ec4 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -241,7 +241,6 @@ class Backtesting(object): if record and record.find('trades') >= 0: logger.info('Dumping backtest results to %s', recordfilename) file_dump_json(recordfilename, records) - labels = ['currency', 'profit_percent', 'profit_BTC', 'duration'] return DataFrame.from_records(trades, columns=BacktestResult._fields) def start(self) -> None: @@ -318,7 +317,7 @@ class Backtesting(object): '%s', self._generate_text_table( data, - results.loc[results.open_at_end == True] + results.loc[results.open_at_end] ) )